Print Page | Close Window

How Do I Set a Label to Bold?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=8064
Printed Date: 03 March 2025 at 4:25am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How Do I Set a Label to Bold?
Posted By: LeeHayton
Subject: How Do I Set a Label to Bold?
Date 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



Replies:
Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net