Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Buttons

Status
Not open for further replies.

ferryjenny

Technical User
Nov 22, 2000
24
GB
Hi

On my dialog box I have a button that the user must press. Does anybody know how I can change the font in this button. I dont want to change the font in the rest of the dialog just in the button. Is this posible.

Thanks for any help.
 

This is very possible. Create a contol using class wizard for the button you want to change the font on. With this control call controlname.SetFont() (controlname being what ever you choose for a name). SetFont() is actually a member of CWnd but CButton comes from CWnd.

Cheers,

Brother C
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top