Show Window?
BlitzMax Forums/MaxGUI Module/Show Window?
| ||
Hey Guys, I'm constantly opening and closing windows in my applications, but for some reason when I close one window and want one of the previous windows to appear, it's bringing one of my other open windows to the front(such as google chrome or whatever else is running) What's the proper way to hide one window and show another(that's already visible but may be behind other windows)? Thanks! |
| ||
HideGadget( oneWindow ) ShowGadget( anotherVisibleWindow ) will bring the anotherVisibleWindow to the front. |
| ||
Activate the new one first, then hide the old one. ShowGadget( anotherVisibleWindow ) ActivateGadget( anotherVisibleWindow ) HideGadget( oneWindow ) |
| ||
Great! Works like a charm :) |