Constants for System Colors
The following constants should be used in place of their numeric values for any function that will accept a system color designation. To use, add \System\ before each:
ztext(50,60, "Hello",\System\#SYSCOLOR_ACTIVETEXT, 0);
Constant | Value |
---|---|
#SYSCOLOR_SCROLLBAR | -2 |
#SYSCOLOR_DESKTOP | -3 |
#SYSCOLOR_ACTIVEBAR | -4 |
#SYSCOLOR_INACTIVEBAR | -5 |
#SYSCOLOR_MENUBACK | -6 |
#SYSCOLOR_WINBACK | -7 |
#SYSCOLOR_WINFRAME | -8 |
#SYSCOLOR_MENUTEXT | -9 |
#SYSCOLOR_WINTEXT | -10 |
#SYSCOLOR_ACTIVETEXT | -11 |
#SYSCOLOR_ACTIVEBORDER | -12 |
#SYSCOLOR_INACTIVEBORDER | -13 |
#SYSCOLOR_MDIBACK | -14 |
#SYSCOLOR_SELECTEDBACK | -15 |
#SYSCOLOR_SELECTEDTEXT | -16 |
#SYSCOLOR_BUTTONFACE | -17 |
#SYSCOLOR_BUTTONSHADOW | -18 |
#SYSCOLOR_GRAYEDTEXT | -19 |
#SYSCOLOR_BUTTONTEXT | -20 |
#SYSCOLOR_INACTIVETEXT | -21 |
#SYSCOLOR_BUTTONHLITE | -22 |