I gave that a try, I created an event and posted it, but the popup list still didn't close.
EventType event; MemSet( &event, sizeof(event), 0 ); event.eType = keyDownEvent; event.data.keyDown.chr = vchrCardCloseMenu; EvtAddEventToQueue ( &event ); Any idea? Thanks - bill "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:97909@palm-dev-forum... > > At 14:29 2002-10-9 -0700, you wrote: > >I was hoping to just solve my problem by just doing a SysUIAppSwitch to my > >own app, but unfortunately when I do that I run into problems because my > >global variables are blowing up the system. > >So since the only way I've found to close that window is via sending an > >appstop event to my app, but I can't do that because I can't restart it. > >Can anyone answer any of the following? > >1. How could I fix it so that I could use SysUIAppSwitch to launch my own > >application again, or > >2. Close that popup-list window so that when I perform a FrmGotoForm > >operation that they form is correctly displayed? > > The popup list will close on receiving a key event. Try posting the > virtual key vchrCardCloseMenu, which looks to have been specifically > created to solve this particular problem. > > > > -- > Ben Combee <[EMAIL PROTECTED]> > CodeWarrior for Palm OS technical lead > Palm OS programming help @ www.palmoswerks.com > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/