HeaderPane
Main
Hide
Share Link
Print

SFTDATE_NOCOLOR Preprocessor Symbol

The SFTDATE_NOCOLOR preprocessor symbol is used to indicate that the default color should be used.

#define SFTDATE_NOCOLOR ((COLORREF)(-1))

Comments

The SFTDATE_NOCOLOR preprocessor symbol defines a COLORREF color value, which indicates that no specific color is defined. It is used with SetColor and in the SFTDATE_SPECIALDATE and SFTDATE_NMDAYFORMATTING structures, if the default color of the control should be used instead of a specific color. The default colors follow the system colors, dark mode and high contrast.

Where a color is defined, an RGB value or a GetSysColor index value can be specified. If a color index is used, the high-order bit must be set (e.g., COLOR_WINDOW | 0x80000000L).

See Also C/C++ API | Categories | Notifications


Last Updated 11/26/2026 - (email)
© 2026 Softel vdm, Inc.