Sets the specified soft keyboard's show state.
Syntax
HRESULT ShowSoftKeyboard( HWND hSoftKbdWnd, int nCmdShow );
Parameters
- hSoftKbdWnd
- [in] Window handle to the soft keyboard.
- nCmdShow
- [in] Integer value that contains the show state of the window. This can be one of the following values:
- SW_HIDE
- Hides the soft keyboard.
- SW_SHOWNOACTIVATE
- Displays the soft keyboard.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmShowSoftKeyboard function documented in the Microsoft® Windows® 98 Device Driver Kit.