The EnableHardwareKeyboard function enables or disables the keyboard.
BOOL EnableHardwareKeyboard (BOOL bEnable)
Header file: | Winuser.h |
Platforms: | H/PC |
Windows CE versions: | 2.0 and later |
Complete documentation: | Microsoft Platform SDK |
This function always returns TRUE.
The EnableHardwareKeyboard function is useful for applications in which a user can write on the touch screen. When the keyboard is disabled, a user can rest a hand on it without causing spurious keyboard input. When EnableHardwareKeyboard changes the enabled state of the keyboard, it causes menus, tabs, buttons and static controls to repaint themselves, so they can change the way they display keyboard accelerators or other relevant information.