Found the problem! It was my theme! I switched to the standard windows XP blue theme and everything was fine, something with my custom theme was causing the font to not change. that is very wierd! :thumb:
Printable View
Found the problem! It was my theme! I switched to the standard windows XP blue theme and everything was fine, something with my custom theme was causing the font to not change. that is very wierd! :thumb:
Use any code above..
Dont forget to declare CFont variable as member variable( variable of dialog class) and not local variable.
It will work..