Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 189
  • Last Modified:

About CButton question!

Dear sir,

  I would like to set a text on the button.  However, the text is too large to fit on the button.  Therefore, I have to set a smaller size so that the text can fit on the button.  can anyone tell me how to do that?


thanks!

Benson
0
benson031397
Asked:
benson031397
1 Solution
 
rhgaracciCommented:
Again, answers are generally given for POINTS!
0
 
benson031397Author Commented:
Adjusted points to 45
0
 
xbwenCommented:
  Since CButton is also derived from CWnd, you can use CWnd::SetFont() to smaller you text.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now