Hi,
I'm writing a dialog box and I want to change the font of one of my static controls. When I change the font in the OnInitDialog it doesn't change immediately. It changes when I select control on my dialogbox.
What am I doing wrong ?
Printable View
Hi,
I'm writing a dialog box and I want to change the font of one of my static controls. When I change the font in the OnInitDialog it doesn't change immediately. It changes when I select control on my dialogbox.
What am I doing wrong ?
Do you define your CFont or Font
variable as local (in .H)? if you define as
automatic varible (in your function)
.somtime will fail