Hi,
You can acheive that in MaxGUI by:
a) When creating the window (using CreateWindow), set the parent paramter to the main window's gadget.
b) When you want the window to be modal, show it, disable the main window and activate the Child Modal window.
c) Once finished, hide child modal window and enable main window, then activate the main window and all should be well.
MaxIDE uses this technique for its requestors (e.g. Find & Replace). This works for me and even if the user switches programs, they have to respond to the modal window before they gain access to the Main one.
Seb
clicking the not'active window has to show the modal one, with a short flikering, and all this issues
You can acheive that in MaxGUI by:
a) When creating the window (using CreateWindow), set the parent paramter to the main window's gadget.
b) When you want the window to be modal, show it, disable the main window and activate the Child Modal window.
c) Once finished, hide child modal window and enable main window, then activate the main window and all should be well.
MaxIDE uses this technique for its requestors (e.g. Find & Replace). This works for me and even if the user switches programs, they have to respond to the modal window before they gain access to the Main one.
Seb