Log in

View Full Version : Static Text


nehaYadav
11-09-2005, 07:26 AM
Hi

I am using diff static text control and edit control on dialog box. And i want to set the text of static control with bold font. how would it be done

thnx in advance

Kris Kumar
11-09-2005, 08:19 PM
I believe you are talking about embedded VC++ static text control.

The easiest way I can remember was to use WTLEx (its a library that enhances the controls beyond what is provided in the ATL/WTL library).

Check this link..
http://www.smartphonedn.com/articles/wtlex.html

Kris Kumar
11-09-2005, 08:22 PM
I am positive that you are not talking about the managed (.NET CF) controls. If you are then, I believe the controls should have properties for controling the font style. I haven't played much with managed controls. But if .NET CF cannot do it then I am sure that OpenNETCF.org has a solution for you.