Processing Notification Messages in Date and Time Picker Controls

HomeOverviewSample

As users interact with the date and time picker control, the control (CDateTimeCtrl) sends notification messages to its parent window, usually a view or dialog object. Handle these messages if you want to do something in response. For example, when the user opens the date and time picker to display the embedded month calendar control, the DTN_DROPDOWN notification is sent.

Use WizardBar or ClassWizard to add notification handlers to the parent class for those messages you want to implement.

The following list describes the various notifications sent by the date and time picker control.

See Also   Windows Common Controls and MFC Classes