Smart Auto-Deploy Home
Smart Auto-Deploy
Windows Mobile SupportedWindows Embedded CE Not Supported
8/28/2008

Windows Mobile 6 Professional and Windows Mobile 6 Classic automatically deploy an on-screen keyboard, the Software-based Input Panel (SIP), anytime the user selects an editable UI control.

To optimize the available screen, this feature is temporarily disabled when the hardware keyboard is used so that the user will not see the SIP auto–deployed.

To support the smart auto–deploy, the keyboard driver needs to notify the shell anytime a hardware key is pressed. The following code sample demonstrates how to set up this notification.

v_hevtKeyPressed = CreateEvent(NULL, 
                               /*bManualReset */FALSE,
                               /*bInitialState */FALSE,
                               TEXT("_KeyPress"));
SetEvent(v_hevtKeyPressed);

The event should only be set for keys on the alphanumeric keyboard. It should not be set for App keys, d-pads, rockers, etc. This is because the user may still be using the stylus even though he pressed one of these keys. The event should only be set on the "down", not the "up".

Note that smart auto–deploy is not relevant for Windows Mobile 6 Standard.

See Also

Other Resources

Keyboard
Software-based Input Panel

© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View