koder
12-04-2003, 02:13 PM
I have several games written in GDI. They all use dialog boxes which look great as long as the user has small fonts selected for their default font size. If they choose large fonts, then the dialogs get very large and the controls don't line up as well.
Is there a way to keep the dialog boxes the same size when the user changes to large font?
The only information I can find on the web uses MFC (CDialogTemplate) which I don't use. Most articles talk about living with this situation. I know how to get dialog box units and use them to keep the graphics lined up but the dialog boxes still get huge and the so do the controls. Since I resize the screen with Directx, some even overflow the screen.
Is there a way to keep the dialog boxes the same size when the user changes to large font?
The only information I can find on the web uses MFC (CDialogTemplate) which I don't use. Most articles talk about living with this situation. I know how to get dialog box units and use them to keep the graphics lined up but the dialog boxes still get huge and the so do the controls. Since I resize the screen with Directx, some even overflow the screen.