Modal dialog not modal
Posted on 1998-06-29
In my app I create a dialog which I show with the ShowModal method.
After the dialog shows, a procedure is started (an other dialog method) where I run a loop which contains Application.ProcessMessages. Now the dialog no longer is modal: my app reacts to all other events, something I don't want. How can I show this dialog modal and still call Application.ProcessMessages? (I don't want to disable all controls of my main window to simulate a modal dialog). Or is this simply contradictory?