Print Page | Close Window

Toolbar Fonts and Colors

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=16673
Printed Date: 03 July 2024 at 3:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Toolbar Fonts and Colors
Posted By: MilesTeg
Subject: Toolbar Fonts and Colors
Date Posted: 07 May 2010 at 5:52pm
I made a custom control with to place on a CXTPToolBar. Things are going great except that the control does not have same appearance as the other toolbars with buttons because the background and font is wrong.

Can you tell me how to get the font and the background color used for the toolbar buttons? I have searched around in CXTPCommandBars::GetPaintManager() and found the GetRegularFont method which seems to give me the right font style but not the right font color.

I am using Xtreme ToolkitPro v13.0.0 with the xtpThemeRibbon style.



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