The following table shows the date and time picker controls notifications, with a description of the purpose of each.
| Programming element | Description |
|---|---|
| DTN_CLOSEUP | This message is sent by a date and time picker (DTP) control when the user closes the drop-down month calendar. |
| DTN_DATETIMECHANGE | This message is sent by a date and time picker (DTP) control whenever a change occurs. |
| DTN_DROPDOWN | This message is sent by a date and time picker (DTP) control when the user activates the drop-down month calendar. |
| DTN_FORMAT | This message is sent by a date and time picker (DTP) control to request text to be displayed in a callback field. |
| DTN_FORMATQUERY | This message is sent by a date and time picker (DTP) control to retrieve the maximum allowable size of the string that will be displayed in callback field. |
| DTN_USERSTRING | This message is sent by a date and time picker (DTP) control when a user completes editing a string in the control. |
| DTN_WMKEYDOWN | This message is sent by a date and time picker (DTP) control when the user types in a callback field. |
See Also
Date and Time Picker Controls Reference
Send Feedback on this topic to the authors