MCN_SELCHANGE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

WM_NOTIFY
NMSELCHANGE