On 02/13/13 14:41, Johan Vromans wrote: > Dave Hayes <dave@jetcafe.org> writes: > >> Apparently when you call ShowModal(), new frames are disabled just >> like the parent frame of the dialog. >> >> So if I have a dialog invoked with ShowModal() and an event comes >> along that wants to create a new frame, how can I enable the new frame >> to receive events? > > A modal dialog is intended, by design, to block all other processing. > > Are you sure you want a modal dialog in the first place? I'm pretty sure I do, since the dialog is intended to edit a set of values and do something once all the values are changed, including refresh the parent window with data from the new values. I don't want multiple instances of this editor around either, so even if I don't use modality I'd be disabling the parent window anyway. I'm sure there's an aspect of strict "modality" I don't know, so why wouldn't I want modality? :D Here's a test case of what I'm doing. Maybe there's another way? -- Dave Hayes - Consultant - Altadena CA, USA - dave@jetcafe.org >>>> *The opinions expressed above are entirely my own* <<<< The mastery of nature is vainly believed to be an adequate substitute for self-mastery. --Reinhold NeibuhrThread Previous | Thread Next