I am trying to get a Win32 dialog with a size of 500x520 pixels, but in my .rc file these settings allow me to enlarge the window than I expected.
IDD_DIALOG1 DIALOG DISCARDABLE 0, 0, 500, 520
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX
Is there a zoom factor somewhere?
source
share