COLORINDEX Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the default foreground, background, or line color.
public enum class COLORINDEX
public enum class COLORINDEX
enum COLORINDEX
public enum COLORINDEX
type COLORINDEX =
Public Enum COLORINDEX
- Inheritance
-
COLORINDEX
Fields
CI_AQUAMARINE | 9 | Aquamarine. |
CI_BLACK | 2 | Black. |
CI_BLUE | 15 | Blue. |
CI_BROWN | 6 | Brown. |
CI_CYAN | 17 | Cyan. |
CI_DARKBLUE | 7 | Dark blue. |
CI_DARKGRAY | 11 | Dark gray. |
CI_DARKGREEN | 5 | Dark green. |
CI_FIRSTFIXEDCOLOR | 2 | The first fixed color. Beginning of fixed color range. |
CI_FORBIDCUSTOMIZATION | 26 | Forbid customization. |
CI_GREEN | 13 | Green. |
CI_LASTFIXEDCOLOR | 17 | The last fixed color. End of fixed color range. |
CI_LIGHTGRAY | 10 | Light gray. |
CI_MAGENTA | 16 | Magenta. |
CI_MAROON | 4 | Maroon. |
CI_PALETTESIZE | 25 | The palette size. |
CI_PURPLE | 8 | Purple. |
CI_RED | 12 | Red. |
CI_SYSINACTSEL_BK | 21 | The background for inactive selection. |
CI_SYSINACTSEL_FG | 20 | The foreground for inactive selection. |
CI_SYSPLAINTEXT_BK | 24 | The background for plain text. |
CI_SYSPLAINTEXT_FG | 23 | The foreground for plain text. |
CI_SYSSEL_BK | 19 | The background for selected text. |
CI_SYSSEL_FG | 18 | The foreground for selected text. |
CI_SYSTEXT_BK | 1 | Obsolete. Use USERTEXT_BK instead. |
CI_SYSTEXT_FG | 0 | Obsolete. Use CI_USERTEXT_FG instead. |
CI_SYSWIDGETMGN_BK | 22 | The background for widget margin. |
CI_USERTEXT_BK | 1 | The background color for user text. |
CI_USERTEXT_FG | 0 | The foreground color for user text. |
CI_WHITE | 3 | White. |
CI_YELLOW | 14 | Yellow. |
Remarks
For information on coloring text managed by the core editor, see Syntax Coloring in a Legacy Language Service.
For information on using the font and color mechanism for coloring text, see Getting Font and Color Information for Text Colorization.
COM Signature
From textmgr.idl: