MCN_GETDAYSTATE notification code

Sent by a month calendar control to request information about how individual days should be displayed. This notification code is sent only by month calendar controls that use the MCS_DAYSTATE style, and it is sent in the form of a WM_NOTIFY message.

MCN_GETDAYSTATE

    lpNMDayState = (LPNMDAYSTATE) lParam;

Parameters

lParam

Pointer to an NMDAYSTATE structure. The structure contains information about the time frame for which the control needs information, and a stack-allocated array of bitfields to write this data into.

Return value

No return value.

Remarks

Handling this notification code allows your application to customize its display by specifying that certain days be displayed in bold.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h