CDateTimeCtrl Methods

Construction Methods

Method Description
CDateTimeCtrl Constructs a CDateTimeCtrl object.
Create Creates the date and time picker control and attaches it to the CDateTimeCtrl object.

Attributes Methods

Method Description
GetMonthCalColor Retrieves the color for a specified portion of the month calendar within the date and time picker control.
SetMonthCalColor Sets the color for a specified portion of the month calendar within a date and time picker control.
SetFormat Sets the display of a date and time picker control based on a specified format string.
GetMonthCalCtrl Retrieves the date and time picker's child month calendar control.
GetMonthCalFont Retrieves the font currently used by the date and time picker control's child month calendar control.
SetMonthCalFont Sets the font to be used by the date and time picker control's child month calendar control.
SetRange Sets the minimum and maximum allowable system times for a date and time picker control.
GetRange Retrieves the current minimum and maximum allowable system times for a date and time picker control.

Operations Methods

Method Description
SetTime Sets the time in a date and time picker control.
GetTime Retrieves the currently selected time from a date and time picker control.