IInkCollector::put_SupportHighContrastInk method (msinkaut.h)

Gets or sets a value that specifies whether ink is rendered as just one color when the system is in High Contrast mode.

This property is read/write.

Syntax

HRESULT put_SupportHighContrastInk(
  VARIANT_BOOL Support
);

Parameters

Support

Return value

None

Remarks

This property changes the way ink renders when the system changes to High Contrast mode.

Real-time ink application uses the COLOR_WINDOWTEXT color when the system is in High Contrast mode and the SupportHighContrastInk property is TRUE, but the inherent color of a stroke made under these conditions remains unchanged. For example, if the Color property is set to RGB(0,0,255) (blue), the COLOR_WINDOWTEXT color is set to RGB(255,255,255) (white), and the system is in High Contrast mode, then a newly drawn stroke renders in white but the actual stroke color is still blue. For more information about this behavior, see the Color property and the GetSysColor function.

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

See also

Color Property

DefaultDrawingAttributes Property

IInkCollector

InkCollector Class

SupportHighContrastSelectionUI Property [InkOverlay Class]