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?
thanks - bill > > We have a trigger in our code that when a user selects something, a > popuplist is then displayed. > (we do this by createing a list and setting the height.) > > When a user clicks any of the application buttons (e.g. global find or > application launcher) - the list disappears and then the system responds as > one would normally expect. > > Our problem is that when handling card (volume mounts or unmounts) - we > desire to perform the same action. (if that list is visible, get rid of that > window, then goto a form). > > In any part of our application, if we recieve this notification and this > list is not being displayed - we handle it and do a FrmGotoForm( > MainForm ) - works nicely and as expected. BUT - whenever one of these > popup lists are displayed, FrmGotoForm( MainForm ) no longer paints the main > form, instead I get a window that is blank, but if I tap the screen, I see > the text that was in my popup-list. > > I've narrowed down the fact that if I can somehow close that window and set > the form, all would work. > > I've tried WinHandle WinGetActiveWindow and then delete that window. It > erases my popup list but still had the same result. I've also tried to send > an event to click somewhere else on the screen in order for the box to > goaway, but of course that event doesn't process until after this > notification event. > > So in a long about way - I need to find someway to close this window and set > some form active while handling this notification. > > I'll keep this simple, I just simply desire to exit my app when getting this > notification. > > My application exits fine when none of these popup windows are visible. But > as soon as I have a popup list displayed, and I try to exist my > application - I don't get the application launcher anymore - I get as I have > always gotten, a blank screen that if I tap on it, I get the text that was > previously in the list. > > any ideas here? > > thanks - bill > > > > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
