Creates one type of soft keyboard window.
Syntax
HRESULT CreateSoftKeyboard(
UINT uType,
HWND hOwner,
int x,
int y,
HWND *phSoftKbdWnd
);
Parameters
- uType
- [in] Unsigned integer value that contains the type of soft keyboard.
- hOwner
- [in] Handle to the owner of the soft keyboard. This must be the user interface window.
- x
- [in] Integer value containing the initial horizontal position of the soft keyboard.
- y
- [in] Integer value containing the initial vertical position of the soft keyboard.
- phSoftKbdWnd
- [out] Address of a handle to the soft keyboard.
Return Value
Returns S_OK if successful, or an error code otherwise.
Remarks
This method maps to the ImmCreateSoftKeyboard function documented in the Microsoft® Windows® 98 Device Driver Kit.