> I am currently working on a standard Windows desktop application <...>
> and have decided to write a GUI framework on my own
If you want to write an application, rolling your own GUI framework is obviously a horrible idea.
In this particular case the reddit!OP converted their GUI framework experiment into a master thesis, but that does not make the advice in the 'first comment' less valid. Did they write that application they wanted?