   Win32 Dialog size
  Hello,I'm a little confused. I'm trying to create a dialog in a resource file, and where you put the size of the dialog, I notice that the size conditions are WAY different that of the standard window sizing. Below is a sample of my code for the sizing part (from inside my .rc file):------------------------------------------IDD_FORMVIEW DIALOGEX 0, 0, 639, 373------------------------------------------I'm trying to make that dialog 1024x768 and later on when i'm finished, it will be changed to 1920x1080. Well, when I make it look like this:IDD_FORMVIEW DIALOGEX 0, 0, 1024, 768It is much larger than that and goes off the screen, way different than the standard window sizing. Can you help me get this right and maybe help me understand the way dialogs are sized?Thanks,Progames25   
  I think you should adjust the size of your dialong in runtime and use the AdjustWindowRect() function   ;  While I agree with matchu, the reason you're seeing this effect is because dialogs in resource files use a measurement system called dialog units. A few minutes with that term and Google should yield all you need to know, but this post contains a conversion method to get you started.That said, adjusting your window size by pixels at runtime is probably a better option. Also, if you are using this window as a rendering window for a fullscreen program, you're probably better off not using dialogs at all and just using standard windows created/managed via CreateWindow et. al.   ;  Thanks,I'll try that out :)   