Thanks, Dave
Maybe, I don't understand something, but
When I activate the modal form, I assign an FormEventHandler function as
event handler for this modal form like this:
FrmSetEventHandler(Ptr,FormEventHandler);
When the user TurnOf the device, keyDownEvent occur (whith the special
character) and I can handle it!
But when the user TurnOn device, no events occure and my FormEventHandler
function does not catch any events! Why? Maybe System Handler handle this
event first?
Thanks, Lubomyr
"Dave Lippincott" <[EMAIL PROTECTED]> wrote in message
news:43159@palm-dev-forum...
>
> 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/