InkPicture.SelectionMoving event

Occurs when the position of the current selection is about to change, such as through alterations to the user interface, cut-and-paste procedures, or the Selection property.

Syntax

void SelectionMoving(
  [in] IInkRectangle *CurSelectionRect
);

Parameters

CurSelectionRect [in]

The rectangle to which the selection is moved after the SelectionMoving event.

Note

This rectangle is specified in client window coordinates, which allows for scenarios such as maintaining the aspect ratio when resizing.

Return value

This event does not return a value.

Remarks

This event method is defined in the _IInkOverlayEvents and _IInkPictureEvents dispatch-only interfaces (dispinterfaces) with an ID of DISPID_IOESelectionMoving.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Header
Msinkaut.h (also requires Msinkaut_i.c)
Library
InkObj.dll

See also

InkPicture

Selection Property [InkPicture Control]

InkRectangle Class