key sequence to lock the screen

// Expert user has replied.
A Afshin Mansoorieh 3 years 7 months ago
7 3 0

is there a keyboard sequence that can be used to lock an MC75 (as oposed to the using the "lock" button on the screen"? we have partner who wants to write code to intercept any such key sequence to prevent users from accidentaly locking their units. thanks, afshin

Please Register or Login to post a reply

3 Replies

V Vikram Mangeshwar

If the intention is to prevent users from accidentally locking their devices, removing the "Device Lock" item from the Today screen will perhaps help in reducing that possibility.

E Efkan YILMAZ

You can use the API -
SHDeviceLockAndPrompt SymScript has a command that wraps this up - LockDevice Or you could send the key sequence from an app/script  On the Smartphone you need VK_APP6 key (0xC6). On the Pocket PC you will use VK_F22 or VK_KEYLOCK key (0x85).

J Jon Preedy

Afshin... Unless there's something buried in the OS, the only way to lock the screen is to use the screen-lock Today icon. This is the only method detailed in the integrator guide, but there is likely a way to invoke it at the API level.

CONTACT
Can’t find what you’re looking for?