Print Page | Close Window

about CXTPShortcutBarPane Caption Font

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=3683
Printed Date: 10 November 2025 at 1:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: about CXTPShortcutBarPane Caption Font
Posted By: OldHawk
Subject: about CXTPShortcutBarPane Caption Font
Date Posted: 21 February 2006 at 1:48am

for default, the CXTPShortcutBarPane Caption Font is Bold,How can i Change this font,size and style?  and How to change the Height of this Caption title bar?

same, how to change these option of CXTPShortcutBar items?




Replies:
Posted By: Oleg
Date Posted: 21 February 2006 at 8:01am

Hello,

you must

1. Override CXTPShortcutBarPaintManager

2. Override its void RefreshMetrics

3. create m_fntText, m_fntPaneCaption, m_fntPaneItemCaption in RefreshMetricc()

4. apply this custom class:

m_wndSb.SetCustomTheme(new CMyShortcutBarPaintManager);



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: OldHawk
Date Posted: 21 February 2006 at 7:13pm
can u give me some simple code? very thanks



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