DTN_DROPDOWN notification code
Sent by a date and time picker (DTP) control when the user activates the drop-down month calendar. This notification code is sent in the form of a WM_NOTIFY message.
A pointer to an NMHDR structure that contains information about the notification.
The return value for this notification is not used.
One task that your notification handler may need to perform is to customize the dropdown month-calendar control. For instance, if you do not want "Go To Today," you need to set the control's MCS_NOTODAY style. To retrieve a handle to the month-calendar control, send the DTP control a DTM_GETMONTHCAL message. You can then use this handle and SetWindowLong to set the desired month-calendar style.
DTP controls do not maintain a static child month calendar control. The DTP control creates a new month calendar control before sending this notification code. Additionally, the DTP control destroys the child control when it is not active (visible). So your application must not rely on a static window handle to the control's child month calendar.
Minimum supported client
|Windows 2000 Professional [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|