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?