> I know two methods:
> 
> Boolean onPOSE()
> {
>   UInt32 value;
>   Err err;
>   // works on all versions of the Palm OS
>   return (FtrGet('pose', 0, &value) == errNone);
> }
> 
> #include "HostControl.h" // distributed with POSE
> Boolean onPOSE()
> {
>   // works only on versions of the Palm OS >= 3.0
>   return (HostGetHostID() == hostIDPalmOSEmulator);
> }
> 

cut+paste from my paper.

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]

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

Reply via email to