MCN_GETDAYSTATE

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 2.0 and later

Syntax

MCN_GETDAYSTATE lpNMDayState = (LPNMDAYSTATE) lParam;

Parameters

lpNMDayState

Long pointer to an NMDAYSTATE structure. The structure contains information about the time frame for which the control needs information, and receives the address of an array that provides such data.

Remarks

Handling this notification message allows your application to customize its display by specifying that certain days be displayed in bold. For more information about processing this message, see “Processing the MCN_GETDAYSTATE Notification Message.”