ISoftKbd::SetSoftKeyboardPosSize method

The ISoftKbd::SetSoftKeyboardPosSize method sets the starting position and size of a soft keyboard.

Syntax

HRESULT SetSoftKeyboardPosSize(
  [in] POINT StartPoint,
  [in] WORD  width,
  [in] WORD  height
);

Parameters

StartPoint [in]

A POINT structure indicating the coordinates of the upper left position of the soft keyboard.

width [in]

Width of the soft keyboard.

height [in]

Height of the soft keyboard.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_INVALIDARG
One of the parameters is 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