[try Beta version]
Not logged in

 
Visual Style working but font is not changing

Jan 15, 2015 at 3:09pm
I enabled the visual styles for my MFC application by using #pragma comment.

But still the button's font is old-fashioned. I want the button to have a consistent look like the default "Ok" and "Cancel" buttons in windows dialogs (Default Font used by Windows and the single width font).

Any attempt to call the buttons SetFont() or SendMessage(.., WM_SETFONT,..) fails.

Isn't there any simple to get a button that has same the look like that of button in all the dialogs of windows applications?
Feb 5, 2015 at 8:39am
Isn't there anybody who has faced this problem or could provide solution for it?
Topic archived. No new replies allowed.