unwanted menus |
Post Reply |
Author | |
Alistair
Newbie Joined: 14 May 2004 Status: Offline Points: 15 |
Post Options
Thanks(0)
Posted: 24 May 2004 at 11:04am |
My MDI application has a couple of wizards that use views onto documents.
When I open those views in normal MDI windows, their menubars replace the existing menubar. If I open a wizard, the associated view's menubar appears (grayed) *above* the existing menubar. This only happens when I build with XTreme Toolkit Pro. If I build without XTPro, the existing menu is replaced by the associated view's menu whether the view is in an MDI window or inside a wizard. Any suggestions? I don't mind if the menu doesn't get replaced at all when running a wizard since the wizard is modal and the menu can't be accessed anyway. --- Al. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
I think it is something in your code... Do you have SetMenu calls?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Alistair
Newbie Joined: 14 May 2004 Status: Offline Points: 15 |
Post Options
Thanks(0)
|
> I think it is something in your code...
Doesn't suprise me, it usually is! > Do you have SetMenu calls? Yes I do, and only in the places where I get new, unwanted menus. I've conditionally compiled them out when building with XTPro and the unwanted menus are gone. However, the main menu obviously does not change. What should I be doing instead of SetMenu()? --- Al. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
you can try pCommandBars->GetMenuBar()->LoadMenu |
|
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 |