CMonthCal.GetColormethod
Retrieves the color for a given portion of a month calendar control.
Syntax
FUNCTION GetColor (BYVAL hMonthCal AS HWND, BYVAL iColor AS LONG) AS COLORREF
Parameters
| Name | Description | |
|---|---|---|
hMonthCal | Handle to a month calendar control. | |
iColor | Value of type int specifying which month calendar color to retrieve. This value can be one of the following: |
Return value
Returns a COLORREF value that represents the color setting for the specified portion of the month calendar control if successful. Otherwise, the return is -1.
Description
Retrieves the color for a given portion of a month calendar control.
Reference
- Include file
CMontCal.inc - Defined in AfxNova/CMonthCal.inc:108
- Documented in Windows/WIndows Controls/CMonthCal Class.md
- Topic: CMonthCal Class