Is there a way to create a "real" modal dialog box using Win32::GUI?
In the sample apps, the solution that comes closest is to Disable the main
window, Show the dialog window and then Enable the main window again when
the dialog is closed by the user.
There are two drawbacks with this method:
1) The modal dialog window is an ordinary window, visible in the task bar.
I have a vague memory of a post describing how to solve this.
2) With the modal dialog visible, when the user clicks on another
application and then on the modal dialog window, only the modal dialog gets
visible. The main window is still below the other application. Same goes
for the main window. This is not how "real" modal dialogs work; the entire
application should be brought to the top when one of the windows is clicked.
/J
--
Johan Lindström, Sourcerer, Boss Casinos Ltd, Antigua
[EMAIL PROTECTED]