Hi Bill,

One way to do this is to save a "eject" flag when the event happens. In your
search
Code check the "eject" flag. If its true then you know that the card has
been ejected
And you can then abort the search. If you can't use globals in your search
for the "eject"
Flag you can use the feature manager to the save the flag.

Regards,

Danny
www.toysoft.ca


-----Original Message-----
From: Bill Andreozzi [mailto:billandr@;statuspro.tv] 
Sent: October 11, 2002 1:16 PM
To: Palm Developer Forum
Subject: Pending System Notifications


We have a global find system notification handler that works just fine, but
our problem is that I would like to know when a user has ejected a card
(sysNotifyVolumeUnmountedEvent) during our search of our data.

Of course I first thought that EvtSysEventAvail would help me, but it
doesn't.  And since I'm still processing the global find notification, I
don't get any other notifications until after this was has been processed.

I've considered using the deferred notification, but of course I don't think
this would work either because the deferred will only put another
notification event in the queue, but if the user didn't eject the card at
that moment, then all that would happen is that anyother app would handle
the find notification, then we would finally handle it (via the deferred),
but I assume that since the OS doesn't differ between deferred versus normal
notifications, I still wouldn't get system notifications during the handling
of deferred notifications.  Is this true?

Otherwise, does anyone have any ideas on how to handle this? thanks - bill




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

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

Reply via email to