Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
Gets or sets a value that specifies whether all selection user interface (UI) elements in the IInkOverlay control are drawn in high contrast when the system is in High Contrast mode.
Syntax
[propget] HRESULT get_SupportHighContrastSelectionUI([out, retval] VARIANT_BOOL *Support); [propput] HRESULT put_SupportHighContrastSelectionUI([in] VARIANT_BOOL Support ); |
Parameters
- Support
-
A value that specifies whether all selection UI elements are drawn in high contrast when the system is in High Contrast mode.
If TRUE, the default, all selection UI renders in high contrast when the system is in High Contrast mode.
If FALSE, changes to the system's High Contrast mode are ignored and the selection UI is drawn as it is when High Contrast mode is off.
This property is read/write.
Return Value
HRESULT value | Description |
---|---|
S_OK |
Success. |
E_POINTER |
The parameter must be a valid pointer. |
Remarks
This property changes the way selection UI is displayed when the system changes to High Contrast mode. Selection UI elements include the selection bounding box and the selection handles.
Ink selection uses the COLOR_WINDOWTEXT, COLOR_WINDOW, and COLOR_HIGHLIGHT system colors to draw elements of the selection UI when the system is in High Contrast mode and the IInkOverlay::SupportHighContrastSelectionUIproperty is TRUE. For more information on system colors, see GetSysColor.
Requirements
Header | msinkaut.h |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile 6 Classic and later, Windows Mobile 6 Professional and later |