![]() |
How to change CXTPMenuBar in the CXTPCommandBars? |
Post Reply
|
| Author | |
littleameng
Groupie
Joined: 22 June 2008 Location: China Status: Offline Points: 23 |
Post Options
Thanks(0)
Quote Reply
Topic: How to change CXTPMenuBar in the CXTPCommandBars?Posted: 19 March 2009 at 3:22am |
|
I had set the menu in the CXTPCommandBars, Now I want to dynamicly change the menu to another menu, how to do it? the code:
CXTPCommandBars* pCommandBars = GetCommandBars();
CXTPCommandBar* pMenuBar = pCommandBars->SetMenu( _T("HomeMenuBar"), IDR_MAINFRAME);
thanks! Please help me!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 March 2009 at 6:13am |
|
Hi,
pMenuBar->LoadMenu(&menu);
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |