Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.66 KB

using-cdatetimectrl.md

File metadata and controls

31 lines (20 loc) · 1.66 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Using CDateTimeCtrl
Using CDateTimeCtrl
11/04/2016
DateTimePicker control [MFC], CDateTimeCtrl class
cb2a8720-43f1-4c33-a3a4-def9a1622e00

Using CDateTimeCtrl

The date and time picker control (CDateTimeCtrl) implements an intuitive and recognizable method of entering or selecting a specific date. The main interface of the control is similar in functionality to a combo box. However, if the user expands the control, a month calendar control appears (by default), allowing the user to specify a particular date. When a date is chosen, the month calendar control automatically disappears.

Note

To use both the CDateTimePicker and CMonthCalCtrl classes in your project, you must include AFXDTCTL.H, usually in your project's STDAFX.H file.

What do you want to know more about

See also

Controls