How to switch the main menu resource? |
Post Reply |
Author | ||
freehawk
Groupie Joined: 22 April 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
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)
|
|
Please help me. -Freehawk |
||
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
|
pCommandBars->GetMenuBar()->SetMenu...
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
freehawk
Groupie Joined: 22 April 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
|
|
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)
|
|
Please help me. Thanks.
|
||
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
|
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 |