Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Toolbar Fonts and Colors
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Toolbar Fonts and Colors

 Post Reply Post Reply
Author
Message
MilesTeg View Drop Down
Newbie
Newbie


Joined: 07 May 2010
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote MilesTeg Quote  Post ReplyReply Direct Link To This Post Topic: Toolbar Fonts and Colors
    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.
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.