Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - How Do I Set a Label to Bold?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How Do I Set a Label to Bold?

 Post Reply Post Reply
Author
Message
LeeHayton View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 November 2005
Location: United Kingdom
Status: Offline
Points: 102
Post Options Post Options   Thanks (0) Thanks(0)   Quote LeeHayton Quote  Post ReplyReply Direct Link To This Post Topic: How Do I Set a Label to Bold?
    Posted: 18 September 2007 at 10:16am
I would like to be able to get hold of a label and change it's properties like "Bold" or font etc.
 
How do I do it as there is no CommandBarLabel type to dim and set it to?
 
Thanks
Lee
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 18 September 2007 at 1:35pm
Hi,
 
Check CommandBars\CommonControls\MainFrm.cpp  file and CControlStatic code.
 
You can create custom button, override its Draw method and draw text as you need.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.