Thanks.
After some more unsuccessful experiments I found other way:
after processing hsChrKeyboardLock (ie. let system draw standard
keyguard dialog) clear the keyguard window and draw my own content
(time/date...).
The only thing which is not covered is attempt to enter emergency number
and delete it -> the old window content is redrawn...
Hynek Sladky
Michal Seliga napsal(a):
i have no idea i never tried it. i found it when i was searching in include
folder (i remembered i saw it somewhere but wasn't sure where)
Hynek Sladky wrote:
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
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/