The HIGHCONTRAST structure contains information about the High Contrast Mode accessibility feature, which sets the appearance scheme of the user interface for maximum visibility for a visually-impaired user, and advises applications to comply with this appearance scheme.
typedef struct tagHIGHCONTRAST { // hc UINT cbSize; DWORD dwFlags; LPTSTR lpszDefaultScheme; } HIGHCONTRAST, FAR* LPHIGHCONTRAST;
Value |
Meaning |
HCF_AVAILABLE |
The High Contrast Mode is available. |
HCF_CONFIRMHOTKEY |
A confirmation dialog appears when the the High Contrast Mode is activated by using the hot key. |
HCF_HIGHCONTRASTON |
The High Contrast Mode is on. |
HCF_HOTKEYACTIVE |
The user can turn the High Contrast Mode on and off by simultaneously pressing the left ALT, left SHIFT, and PRINT SCREEN keys. |
HCF_HOTKEYAVAILABLE |
The hot key associated with the High Contrast Mode can be enabled. An application can retrieve this value, but cannot set it. |
HCF_HOTKEYSOUND |
A siren is played when the user turns the High Contrast Mode on or off by using the hot key. |
HCF_INDICATOR |
A visual indicator is displayed when the High Contrast Mode is on. This value is not currently used and is ignored. |
An application uses this structure when calling the SystemParametersInfo function with the SPI_GETHIGHCONTRAST or SPI_SETHIGHCONTRAST value. When using SPI_GETHIGHCONTRAST, an application must specify the cbSize member of the HIGHCONTRAST structure; the SystemParametersInfo function fills the remaining members. An application must specify all structure members when using the SPI_SETHIGHCONTRAST value.
file: /Techref/os/win/api/win32/struc/src/str09_5.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/11/4 16:23,
18.226.248.77:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/struc/src/str09_5.htm"> HIGHCONTRAST</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.