Switching MDI menus in full screen mode |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
Posted: 04 March 2008 at 5:08am |
Hi;
I've implemented a fullscreen mode into my MDI application that has different document types. Each document type has its own menu resource.
I'm also using CTXPTabClientWnd as the workspace for my child windows.
Now, when I'm in fullscreen mode and tab to another document type, then switch back from fullscreen mode, the menu does not change to the currently selected documents type. It's still the menu that was active when I entered fullscreen mode.
To switch between normal and fullscreen mode I use code found in the VisualStudion GUI example of the toollkit:
I know that it has something to do with storing/restoring the current layout, but I don't know how to react when the user tabs between documents.
Does anyone know what I have to do in this case?
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hi;
If someone is interrested in this:
Calling OnUpdateFrameMenu(0) after closing full screen mode did it.
Thanks to Oleg!
|
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
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 |