Share via


MCN_SELCHANGE (Compact 2013)

3/28/2014

This 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.

Syntax

MCN_SELCHANGE lpNMSelChange = (LPNMSELCHANGE) lParam;

Parameters

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

Return Value

None.

Remarks

This 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.

Requirements

Header

commctrl.h

See Also

Reference

Month Calendar Controls Notifications
WM_NOTIFY
NMSELCHANGE