IInkOverlay::HitTestSelection method (msinkaut.h)
Determines what portion of the selection was hit during a hit test.
Syntax
HRESULT HitTestSelection(
[in] long x,
[in] long y,
[out] SelectionHitResult *SelArea
);
Parameters
[in] x
The x-position, in pixels, of the hit test.
[in] y
The y-position, in pixels, of the hit test.
[out] SelArea
The value from the SelectionHitResult enumeration,which specifies which part of a selection, if any, was hit during a hit test.
Return value
Return code | Description |
---|---|
|
The east side sizing handle was hit. |
|
No part of the selection was hit. |
|
The north side sizing handle was hit. |
|
The northeast corner sizing handle was hit. |
|
The northwest corner sizing handle was hit. |
|
The selection itself was hit (no selection handle was hit). |
|
The south side sizing handle was hit. |
|
The southeast corner sizing handle was hit. |
|
The southwest corner sizing handle was hit. |
|
The west side sizing handle was hit. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | msinkaut.h |
Library | InkObj.dll |