Forbid switching to MDI child

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Forbid switching to MDI child

Post by ONEEYEMAN »

Hi, ALL,
I am trying to write an MDI child application.

One of the scenario is as follows user opens a view (view1).
Then he opens another view (view2).

For the time while the view2 is active (iconized or visible) user cannot switch to view1.

The "Window" menu item is disabled and when he tries to click on the MDIChild user will just hear a beep.

What's best/easiest way to implement this?

Thank you.
Post Reply