I tried functions
HsAttrGet (hsAttrKeyboardLocked, 0, &locked);
HsAttrSet (hsAttrKeyboardLocked, 0, &locked);

Is this the same functionality as PmKeyAttr... ?

If I lock keyboard manually (option+power), function HsAttrGet returns false; after keyguard gets active after timeout, function returns true... I don't understand why - what is difference between invoking keyguard automatically and manually...

Thanks,
Hynek Sladky


Michal Seliga napsal(a):
maybe you coud use
Err PmKeyAttrGet (UInt16 refNum, UInt16 attr /*PmKeyAttrEnum*/, UInt32 flags,
UInt32* valueP)

and

Err
PmKeyAttrSet (UInt16 refNum, UInt16 attr /*PmKeyAttrEnum*/, UInt32 flags, UInt32
value)

from palmone sdk? one of suopported attributes is pmKeyAttrKeyboardLocked which
is in fact keyguard

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

Reply via email to