SftPrintPreview/DLL 2.0

SFTPRINTPREVIEW_NOCOLOR

Softel vdm, Inc.

The SFTPRINTPREVIEW_NOCOLOR preprocessor symbol defines a COLORREF color value.

#define SFTPRINTPREVIEW_NOCOLOR ((COLORREF)-1)

Comments

The SFTPRINTPREVIEW_NOCOLOR preprocessor symbol defines a COLORREF color value.  This value is typically used if the control's default color or built-in color should be used.

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

Example

C/C++

COLORREF ColorA = RGB(255,0,0);                  // Red
COLORREF BackColor = COLOR_WINDOW | 0x80000000L; // Control Panel's window background color
COLORREF DefaultColor = SFTPRINTPREVIEW_NOCOLOR; // Use default color (if available)

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


Feedback / comments / error reports for this topic
© 2016 - Softel vdm, Inc. - www.softelvdm.com