Re: Trouble dismissing dialog

2002-07-10 Thread Christian Vandendorpe
I do this by posting an event to myself simulating that a button was pressed. Works quite well. Chris Richard Coutts wrote: I have a generic dialog function for instantiating my dialog and for registering my handler. It works great, except that I want to add the behaviour that if the

Re: Trouble dismissing dialog

2002-07-03 Thread Richard Coutts
I have a generic dialog function for instantiating my dialog and for registering my handler. It works great, except that I want to add the behaviour that if the user taps outside of the area of the dialog, the dialog closes. By making it detect taps outside the bounds, it should be easy

RE: Trouble dismissing dialog

2002-07-01 Thread Peter Epstein
Two basic approaches come to mind. One is to write your own event loop for your popup. That way, you can react to taps in any way you like. This isn't that hard, but it's a little scary in that you might miss something that FrmDoDialog does for you. The alternative I would consider is to use

Trouble dismissing dialog

2002-06-30 Thread Richard Coutts
I have a generic dialog function for instantiating my dialog and for registering my handler. It works great, except that I want to add the behaviour that if the user taps outside of the area of the dialog, the dialog closes. (Essentially, its the same behavior when the user taps the Cancel

Re: Trouble dismissing dialog

2002-06-30 Thread Mark Wilden
- Original Message - From: Richard Coutts [EMAIL PROTECTED] I have a generic dialog function for instantiating my dialog and for registering my handler. It works great, except that I want to add the behaviour that if the user taps outside of the area of the dialog, the dialog