Changing the Font of a Dialog to resize the Dialog
I want to scale the size of my dialogs dependent of the Systemmetrics. So, I think, I have to change the font of the dialogs to resize automatically the Dialog (made in the resource editor).
But how can I do it? I have tried to use the OnSetFont-function, the SetFont-function etc., but without any effect.
Can you get me the code what I have to do and where (in what message-handler)?
Maybe there is an other (better) option to resize?