develooper Front page | perl.wxperl.users | Postings from February 2013

Re: Modality and new windows

Thread Previous | Thread Next
From:
Johan Vromans
Date:
February 13, 2013 22:41
Subject:
Re: Modality and new windows
Message ID:
m2obfnhm5d.fsf@phoenix.squirrel.nl
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?

-- Johan

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About