Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - about CXTPShortcutBarPane Caption Font
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

about CXTPShortcutBarPane Caption Font

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


Joined: 21 February 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote OldHawk Quote  Post ReplyReply Direct Link To This Post Topic: about CXTPShortcutBarPane Caption Font
    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?

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 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
Back to Top
OldHawk View Drop Down
Newbie
Newbie


Joined: 21 February 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote OldHawk Quote  Post ReplyReply Direct Link To This Post Posted: 21 February 2006 at 7:13pm
can u give me some simple code? very thanks
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.047 seconds.