OK, more info.

I tried what Keith suggested and well, yes, the log fills up quickly and
still makes little to no sense.  I can't really tell when my app has left.

Setting that asside, I'd done the brute force process of elimination.

Started by commenting out my AppStop function line by line, or rather
putting it back in line by line.

What initiates the delay is if I try to gracefully kill off my offscreen
windows.

I have about 4 in total, of varying sizes (mostly not large), that have the
WinHandled declared as a global.

Global:
WinHandle   gOIn = NULL,
            gOUn = NULL;


AppStart:
    gOIn    = WinCreateOffscreenWindow (20, 20, genericFormat, &error);
    gOUn    = WinCreateOffscreenWindow (20, 20, genericFormat, &error);

AppStop:
    if(gOIn != NULL)
        WinDeleteWindow(gOIn, false);
    if(gOUn != NULL)
        WinDeleteWindow(gOUn, false);


Now if I don't check if the WinHandle is NULL, and I don't WinDeleteWindow
if it isn't then my Exit to Launcher Screen time is about 1 second.  If I
just put in the AppStop stuff then my Exit to Launcher Screen time is 8.6
seconds.

I'm ok with leaving these dangling :)  but Poser isn't too keen on it.
What's the right way if the above is not ?

-MD

-- 
Matt Disher
[EMAIL PROTECTED]



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

Reply via email to