I didn't try any icon styles, but I did try to make the MsgBox
modal, even though this is supposed to be the default.
%MB_APPLMODAL and %MB_SYSTEMMODAL didn't work, but %MB_TASKMODAL
did.
I did also try styles in the DIALOG NEW statement to try
to over-ride the default %DS_SETFONT.
------------------
Announcement
Collapse
No announcement yet.
System font in MsgBox & DDT
Collapse
X
-
Guest replied
-
I may be wrong, but did you try some of the various styles for the Msgbox?
Ie, Msgbox "Test", %MB_ICONSTOP,"STOP"
Hadn't noticed this before, interesting..
Scott
------------------
Scott
mailto:[email protected][email protected]</A>
Leave a comment:
-
System font in MsgBox & DDT
If the windows desktop is set to a large system font, the MsgBox
and dialogs (made using DDT) no longer match. MsgBox grows
its font (and button size), but in DDT only the Caption grows.
I can change the fonts of indivdual controls within a dialog, by
sending then a WM_SETFONT message during WM_INITDIALOG, but not
the whole dialog at once. Nor can I find a way to change the
font used in MsgBox.
How do I get the two types of WIndow to match, regardless of
which system font the user has chosen?Tags: None
Leave a comment: