On Sun, 25 Jul 2004 22:54:09 -0400, Chris Faherty
<[EMAIL PROTECTED]> wrote:
> On Sunday 25 July 2004 10:18 pm, druid wrote:
> 
> > I call a popup from main with a menu selection
> > from the popup I have another menu
> > WHen I select an Item form the Popup's menu I want the
> > current popup to close and open the new popup
> 
> What I like to do is use frmUpdateEvent as a popup dispatcher.

Another way to approach this problem is:
* close a popup
* send yourself a message with EvtAddEventToQueue() and your own custom event id
* open the other popup from your main window even handler when you get
the message you've sent yourself

I use this technique quite often and it can be used for more things than this.

Krzysztof Kowalczyk | http://blog.kowalczyk.info

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to