![]() |
How to change CXTPMenuBar in the CXTPCommandBars? |
Post Reply ![]() |
Author | |
littleameng ![]() Groupie ![]() ![]() Joined: 22 June 2008 Location: China Status: Offline Points: 23 |
![]() ![]() ![]() ![]() ![]() 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 ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
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 |