Archive: Pixel-fixed size window


Pixel-fixed size window
Hi.

I don't like dialog units and would like my installer to have a pixel-fixed size (let's say 100x100).
What is the best way to achieve this?

Thanks.


You have to call SetWindowPos with the system plugin.

...if your window has any text you are better off sticking with dialog units because they scale with the font.


Originally posted by Tsury
I don't like dialog units
So you don't like anyone who needs to use a different DPI setting for accessibility?
I suggest you try changing your DPI setting and see what it does to your installer.