DTM_CLOSEMONTHCAL message

Closes a date and time picker (DTP) control. Send this message explicitly or by using the DateTime_CloseMonthCal macro.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns zero.

Remarks

Destroys the control and sends a DTN_CLOSEUP notification that the control is closing as opposed to the control is opening (dropping-down as in the DTN_DROPDOWN notification) to the control's parent.

Requirements

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

See also

Reference

DTN_DROPDOWN

DTN_CLOSEUP