Show/Hide Toolbars

EmEditor Help

Navigation: » No topics above this level «

EmEditor Plug-in Reference: GET_COLOR_INFO

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Structures

GET_COLOR_INFO

Used by EE_GET_COLOR messages.

typedef struct _GET_COLOR_INFO {

   UINT cbSize;

   BOOL bFind;

   UINT nIndex;

   COLORREF clrText;

   COLORREF clrBack;

   int nAttr;

} GET_COLOR_INFO;

Fields

cbSize

[In] Size of this data structure, in bytes. Set this member to sizeof( GET_COLOR_INFO ) before sending the EE_GET_COLOR message.

bFind

[in] Specifies TRUE if retrieving colors for Find, or FALSE if retrieving colors for one of other parts.

nIndex

[in] Specifies the index to retrieve colors. If bFind is FALSE, the index must be less than MAX_SMART_COLOR.

clrText

[out] This member contains the text color after returning from the EE_GET_COLOR message. The value can be an RGB value of the color or one of the following values.

DEFAULT_COLOR

The Windows system color is used.

TRANSPARENT_COLOR

The color is transparent.

clrBack

[out] This member contains the background color after returning from the EE_GET_COLOR message. The value can be an RGB value of the color or one of the following values.

DEFAULT_COLOR

The Windows system color is used.

TRANSPARENT_COLOR

The color is transparent.

nAttr

[out] This member contains the style after returning from the EE_GET_COLOR message. The value is one of the following values.

SMART_COLOR_FONT_NORMAL

The font is normal.

SMART_COLOR_FONT_UNDERLINE

The font is underlined.

SMART_COLOR_FONT_BOLD

The font is bold.

SMART_COLOR_FONT_ITALIC

The font is italic.

SMART_COLOR_FONT_WIGGLY

The font is wiggly.

SMART_COLOR_FONT_DOTTED

In case of lines, the specified lines are dotted.

Version

Supported on Version 14.4 or later.

Copyright © 2003-2016 by Emurasoft, Inc.