![]() |
about CXTPShortcutBarPane Caption Font |
Post Reply
|
| Author | |
OldHawk
Newbie
Joined: 21 February 2006 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: about CXTPShortcutBarPane Caption FontPosted: 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? |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
OldHawk
Newbie
Joined: 21 February 2006 Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Posted: 21 February 2006 at 7:13pm |
|
can u give me some simple code? very thanks
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |