InkPicture.SupportHighContrastSelectionUI property

Gets or sets a value that specifies whether all selection user interface (selection bounding box and selection handles) are drawn in high contrast when the system is in High Contrast mode.

This property is read/write.

Syntax


HRESULT put_SupportHighContrastSelectionUI(
  [in]          VARIANT_BOOL Support
);

HRESULT get_SupportHighContrastSelectionUI(
  [out, retval] VARIANT_BOOL *Support
);

Property value

VARIANT_TRUE to render all selection UI in high contrast when the system is in High Contrast mode. VARIANT_FALSE to ignore changes to the system's High Contrast mode and draw the selection UI normally. The default value is VARIANT_TRUE.

Error codes

NameMeaning
S_OK

Success.

E_POINTER

The parameter must be a valid pointer.

Remarks

For further details about this property, refer to the InkOverlay object's SupportHighContrastSelectionUI property, which has the same functionality.

Requirements

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

 

 

Show: