![]() |
How to change menu font |
Post Reply ![]() |
Author | |
tataxin ![]() Newbie ![]() Joined: 22 May 2008 Location: United Kingdom Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() Posted: 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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Call pCommandBars->GetPaintManager()->SetCommandBarsFontIndirect(...);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
tataxin ![]() Newbie ![]() Joined: 22 May 2008 Location: United Kingdom Status: Offline Points: 8 |
![]() ![]() ![]() ![]() ![]() |
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 |