08-09-2008, 07:56 PM
Convert x, y, width and height from/to dialog box units. But I don't remember how to do it. I just remember it was not easy. Learn about dialog box units in msdn library.
But i think most computers have default DPI. Use CreateControl with pixels. To make your dialogs more compatible with 120 dpi, just make your controls that contain text (eg buttons) a bit bigger.
But i think most computers have default DPI. Use CreateControl with pixels. To make your dialogs more compatible with 120 dpi, just make your controls that contain text (eg buttons) a bit bigger.