If you intercept system level events before you pass them to SysHandleEvent,
it won't matter which of your forms is loaded.  The only problem is that
certain OS dialogs handle the message queue themselves.  i.e. when the
keyboard is present or while SDK alert boxes are on the screen.  These
elements handle messages directly (and thus you won't be able to intercept
messages)
The work-around is not to use alerts.

----- Original Message -----
From: "Lubomyr Humetsky" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 8:48 AM
Subject: PowerOn Event


> Hi all,
>
> I am developing application with C++ in CodeWarrior!
> I have to catch and handle Event when the user TurnOn device and my
> application is loaded!
> When a not-modal form is shown in Application this Event occur and I can
> handle it! But when modal form is active - no Events occur!
>
> Can anybody tell me, how can I catch PowerOn Event when modal form in
> Application is Active?
>
> Thanks, Lubomyr.
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>


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

Reply via email to