[comp.sys.apple] modal dialogs using the Window Manager only

hartkopf@boulder.Colorado.EDU (Jeff Hartkopf) (02/21/90)

I need to create a modal dialog, but using only the Window Manager,
not the Dialog Manager, so I can add controls to the dialog using
NewControl2 (such as a list control).  However, since I need to
keep going through the event loop, for calling TaskMaster and such,
I can't just suspend execution until the user is done with the
dialog.  But I do want the dialog to act like a modal dialog, i.e.,
it must remain at the front and beep if the user clicks outside the
dialog.  Does anyone have a solution?

I seem to recall Matt or Dave mentioning a possible technical note
on this subject a few months ago.  Has this technote been written
and I just haven't seen it?

Thanks.


Jeff Hartkopf

Internet:
hartkopf@tramp.Colorado.EDU