At 6:52 PM -0400 7/16/01, [EMAIL PROTECTED] wrote:
>Ok, some people told me to search for this in some forums and I went everywhere they
>said. For those of you that are about to ask, yes I have read the documentation
>serveral times.The only reason I am even writing thi9s email is that about amonth ago
>someone asked the same question and someone knew and I thought they said it was
>SysTask(flase,false) but I don't remember what it was. Please tell me so that I can
>add it to my program. Thanks!
It's generally not appropriate for applications to turn off the device. However, you
may have a specific, targeted application for which this is an appropriate behavior.
Assuming this is the case, I'll answer your question, but only if you promise to
always consult the documentation, knowledgebase, and forum archives before posting
your question to the development forum, and that you cease all further use of the "GOD
Bless!!!" tagline as has been asked of you, repeatedly, noting that its further use
may result in revocation of your forum posting privileges.
EvtEnqueueKey(vchrPowerOff, 0, commandKeyMask);
Then in your application's main event loop, pass the event to SysHandleEvent for
processing.
Regards,
Jim Schram
Palm Incorporated
Partner Engineering
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/