![]() |
How to change menu font |
Post Reply
|
| Author | |
tataxin
Newbie
Joined: 22 May 2008 Location: United Kingdom Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Topic: How to change menu fontPosted: 08 July 2008 at 10:47pm |
|
I have a menu declared like this:
CXTPCommandBar* pMenuBar; pMenuBar = pCommandBars->SetMenu(_T("Menu Bar"), IDR_MAINFRAME); Is there any way to change the font of this menu? For example, I want to change to bold, Arial, size 10 font? Thank you in advance |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 July 2008 at 4:46am |
|
Hi,
Call pCommandBars->GetPaintManager()->SetCommandBarsFontIndirect(...);
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
tataxin
Newbie
Joined: 22 May 2008 Location: United Kingdom Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 July 2008 at 5:23am |
|
great!! it works!!
thank you very much, oleg, :) |
|
![]() |
|
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 |