![]() |
How to switch the main menu resource? |
Post Reply
|
| Author | ||
freehawk
Groupie
Joined: 22 April 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
Quote Reply
Topic: How to switch the main menu resource?Posted: 02 June 2005 at 1:58am |
|
|
Hello There are three main menu resource, I want to switch them dynamically. Please help me how to do. Thanks BTW, do I need to switch childframe menu? -Freehawk
Edited by freehawk |
||
![]() |
||
freehawk
Groupie
Joined: 22 April 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 June 2005 at 2:27am |
|
|
Please help me. -Freehawk |
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 June 2005 at 7:11am |
|
|
pCommandBars->GetMenuBar()->SetMenu...
|
||
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
freehawk
Groupie
Joined: 22 April 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 August 2005 at 11:14pm |
|
|
But tabbed MDIChild window is opened, the menu is changed. How to forbit to change the menu of child frame?
|
||
![]() |
||
freehawk
Groupie
Joined: 22 April 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 August 2005 at 12:06am |
|
|
Please help me. Thanks.
|
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 August 2005 at 3:49am |
|
|
in MainFrame.cpp add pMenuBar->SetFlags(xtpFlagIgnoreSetMenuMessage);
or just remove menu in resources for this child template. |
||
|
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 |