Rediger

Del via


MCN_SELCHANGE notification code

Sent by a month calendar control when the currently selected date or range of dates changes. This notification code is sent in the form of a WM_NOTIFY message.

MCN_SELCHANGE

    lpNMSelChange = (LPNMSELCHANGE) lParam;

Parameters

lParam

Pointer to an NMSELCHANGE structure that contains information about the currently selected date range.

Return value

No return value.

Remarks

For example, the control sends MCN_SELCHANGE when the user explicitly changes the selection within the current month or when the selection is implicitly changed in response to next/previous month navigation. This notification code is also sent by the system at regular intervals so that the control can respond to date changes.

This notification code is similar to MCN_SELECT, but it is sent in response to any selection change. MCN_SELECT is sent only for an explicit date selection.

Requirements

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