DTN_CLOSEUP notification code

Sent by a date and time picker (DTP) control when the user closes the drop-down month calendar. The month calendar is closed when the user chooses a date from the month calendar or clicks the drop-down arrow while the calendar is open. This notification code is sent in the form of a WM_NOTIFY message.

DTN_CLOSEUP

    lpNmhdr = (LPMNHDR)lParam;

Parameters

lParam

A pointer to an NMHDR structure that contains information about the notification.

Return value

The return value for this notification is not used.

Remarks

DTP controls do not maintain a static child month calendar control. The DTP control destroys the child month calendar control prior to sending this notification code. So your application must not rely on a static window handle to the control's child month calendar.

Requirements

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

See also

Reference

DTN_DROPDOWN

DTM_GETMONTHCAL