I'm using variable size fonts linked to each control in my
dialogs. I read in documentation that in the absence of a
particular font for a control, the default dialog font is used.
That is,
CALL SendMessage(Control_ID_Font_Handle,%WM_SETFONT,0,0)
would cause the font for that control to be set to the default
DIALOG font. (assuming Control_ID_Font_Handle is properly set
up using CONTROL HANDLE).
I have one dialog with about 100 controls, each with one letter
of text. Resizing the screen takes a while with a 200 MHz CPU.
Rather than use the above SendMessage for each control, I'd
like to do it once for the dialog and have all controls
initialized with a 0 for the font_ID. Then change the
DIALOG font size once at the start of the WM_SIZE logic,
instead of once for each CONTROL.
But how does one change the size of the default dialog font?
----------------------------------------------------------------
dialogs. I read in documentation that in the absence of a
particular font for a control, the default dialog font is used.
That is,
CALL SendMessage(Control_ID_Font_Handle,%WM_SETFONT,0,0)
would cause the font for that control to be set to the default
DIALOG font. (assuming Control_ID_Font_Handle is properly set
up using CONTROL HANDLE).
I have one dialog with about 100 controls, each with one letter
of text. Resizing the screen takes a while with a 200 MHz CPU.
Rather than use the above SendMessage for each control, I'd
like to do it once for the dialog and have all controls
initialized with a 0 for the font_ID. Then change the
DIALOG font size once at the start of the WM_SIZE logic,
instead of once for each CONTROL.
But how does one change the size of the default dialog font?
----------------------------------------------------------------
Comment