MCN_SELCHANGE

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

For example, the control sends MCN_SELCHANGE when the user explicitly changes his or her selection within the current month, or when the selection is implicitly changed in response to next/previous month navigation.

At a Glance

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

Syntax

MCN_SELCHANGE lpNMSelChange = (LPNMSELCHANGE) lParam;

Parameters

lpNMSelChange

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

Remarks

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