giguere@csg.UWaterloo.CA (Eric Giguere) (07/13/90)
Can someone point me to some example source or give me a quick explanation of how to implement a proper modal dialog? Specifically I want to use one of the Motif message dialogs. Say I create one with XmCreateErrorDialog. After I attach callbacks, manage & realize it, how do I then wait around until the dialog is destroyed? I don't want to busy-wait, and I don't want the user to be able to choose menu items from the main shell, etc. But waiting for the dialog to close and figuring out which button (OK, Cancel) was chosen is the big question. -- Eric Giguere giguere@csg.UWaterloo.CA