ITextInputPanelEventSink::InPlaceSizeChanging method

Occurs when the in-place Input Panel size is about to change due to a user resize, auto growth, or an input area change.

Syntax


HRESULT InPlaceSizeChanging(
  [in] Rect oldBoundingRectangle,
  [in] Rect newBoundingRectangle
);

Parameters

oldBoundingRectangle [in]

The bounding rectangle that represents the current size of the Input Panel.

newBoundingRectangle [in]

The bounding rectangle that represents the new size of the Input Panel.

Return value

This method can return one of these values.

Return codeDescription
S_OK

Success.

E_FAIL

An unspecified error occurred.

 

Remarks

Actions causing the Input Panel to change size include changing the screen resolution or DPI settings, rotating the tablet screen, changing the input language, the user explicitly resizing the Input Panel, and changing the theme.

Requirements

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Peninputpanel.h (also requires Peninputpanel_i.c)

DLL

Tiptsf.dll

See also

ITextInputPanelEventSink
ITextInputPanel Interface
ITextInputPanelEventSink::InPlaceSizeChanged Method

 

 

Show: