All Forums
 Microsoft Windows CE
 eVC Application Development
 Changing font in a standard "button" control
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

mhuman1

36 Posts

Posted - 14 Apr 2003 :  18:15:07  Show Profile  Email Poster
I am using evc on a graphics client. How do I set different fonts for several different standard button controls. I know how to change the text and the color and the background color. Trapping the WM_CTLCOLORBTN message for instance.

I am actually using the buttons in a dialog box.

-------------------
I later found that I can send a message to the control using the SendDlgItemMessage function and a WM_SETFONT message.

Edited by - mhuman1 on 16 Apr 2003 18:39:25

ctacke

877 Posts

Posted - 15 Apr 2003 :  14:22:16  Show Profile  Email Poster
You must change the base font for the entire dialog. If you want to change the font for only some of the buttons on the form, you'll have to override the paint routine and place your own text with the font you wish to use.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000