ISoftKbd::CreateSoftKeyboardWindow method

The ISoftKbd::CreateSoftKeyboardWindow method creates a soft keyboard window.

Syntax

HRESULT CreateSoftKeyboardWindow(
  [in] HWND          hOwner,
  [in] TITLEBAR_TYPE Titlebar_type,
  [in] INT           xPos,
  [in] INT           yPos,
  [in] INT           width,
  [in] INT           height
);

Parameters

hOwner [in]

Handle of the window to contain the soft keyboard.

Titlebar_type [in]

Type of title bar for the soft keyboard window. Possible types are defined by the TITLEBAR_TYPE enumeration.

xPos [in]

The x position of the upper left corner of the soft keyboard window.

yPos [in]

The y position of the upper left corner of the soft keyboard window.

width [in]

The width of the soft keyboard window.

height [in]

The height of the soft keyboard window.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
One or more parameters are invalid.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Redistributable
TSF 1.0 on Windows 2000 Professional
Header
Softkbdc.h
IDL
Softkbd.idl
DLL
Softkbd.dll

See also

ISoftKbd

ISoftKbd::CreateSoftKeyboardLayoutFromResource

ISoftKbd::DestroySoftKeyboardWindow

ISoftKbd::ShowSoftKeyboard

TITLEBAR_TYPE