Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - How to apply the skin font to CommandBars?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to apply the skin font to CommandBars?

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


Joined: 24 January 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joseph Quote  Post ReplyReply Direct Link To This Post Topic: How to apply the skin font to CommandBars?
    Posted: 24 January 2007 at 3:36am
I am running the SkinMDISample, and applys some theme with different font settings. But the font of command bar is always tahoma...
 
I have called XTPPaintManager()->UseOfficeFont(false), but it has no effect
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


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: 24 January 2007 at 5:38am
Hi,
This font SkinFramework loads from ini file. You can set custom font to call XTPPaintManager()->SetCommandBarsFontIndirect(...);
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Joseph View Drop Down
Newbie
Newbie


Joined: 24 January 2007
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Joseph Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2007 at 6:59am
It works, thank you!
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.188 seconds.