ITextInputPanelEventSink::InPlaceSizeChanging method (peninputpanel.h)

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

[in] oldBoundingRectangle

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

[in] newBoundingRectangle

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

Return value

This method can return one of these values.

Return code Description
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

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header peninputpanel.h
DLL Tiptsf.dll

See also

ITextInputPanel Interface

ITextInputPanelEventSink

ITextInputPanelEventSink::InPlaceSizeChanged Method