Table 4-1
Text Attribute Bit Positions
Attribute Name | Description | Bit Position | Hex Mask |
---|---|---|---|
A_STANDOUT | Highlight the text so that it stands out | 16 | 0x00010000 |
A_UNDERLINE | Underline text | 17 | 0x00020000 |
A_REVERSE | Text foreground and background colors are reversed | 18 | 0x00040000 |
A_BLINK | Text blinks |
19 | 0x00080000 |
A_DIM | Text is dimmed | 20 | 0x00100000 |
A_BOLD | Text is bold (intense) | 21 | 0x00200000 |
A_ALTCHARSET | Activate the alternative character set | 22 | 0x00400000 |
A_INVIS | Text is invisible | 23 | 0x00800000 |
A_PROTECT | Text is protected | 24 | 0x01000000 |
A_HORIZONTAL | Text is displayed horizontally | 25 | 0x02000000 |
A_LEFT | Text is displayed on the left | 26 | 0x04000000 |
A_LOW | Text is displayed low | 27 | 0x08000000 |
A_RIGHT | Text is displayed on the right | 28 | 0x10000000 |
A_TOP | Text is displayed high (top) | 29 | 0x20000000 |
A_VERTICAL | Text is displayed vertically | 30 | 0x40000000 |
Unused | Unused | 31 | 0x80000000 |
Copyright © 1997-2024 by QPBC.
All rights reserved