How have you made the Window decoration native on Windows 10?



I’m just starting writing a GTK app, and on Windows the window decoration looks shit. It’s the wrong font, the wrong icons, the wrong corner rounding, etc. MyPaint does it perfectly though! How? I’ve grepped the code a bit and couldn’t find anything.

Here’s a SO question of other people failing to do the same (and it shows how shit it looks by default):