Font of command buttons on property pages
-
Hi Can you please tell me how the default font of command buttons like NEXT,BACK,FINISH and CANCEL can be changed?
Best Regards Neeraj Sinha
-
Hi Can you please tell me how the default font of command buttons like NEXT,BACK,FINISH and CANCEL can be changed?
Best Regards Neeraj Sinha
Consider using
CWnd:::SetFont
, for buttons of your interest. You can useGetDlgItem
to access those buttons.
Prasad MS MVP - VC++
-
Consider using
CWnd:::SetFont
, for buttons of your interest. You can useGetDlgItem
to access those buttons.
Prasad MS MVP - VC++
Thanks for your reply but what ID should I pass in the parameter of GetDlgItem(), as we do not add the buttons from the resource.
With Regards Neeraj Sinha
-
Thanks for your reply but what ID should I pass in the parameter of GetDlgItem(), as we do not add the buttons from the resource.
With Regards Neeraj Sinha
There are standard ids for cancel , help,ok button(IDCANCEL,IDHELP,IDOK). About other buttons, you may need to take help of spy utility to find their ids.
Prasad MS MVP - VC++