Delen via


CDateTimeCtrl Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

Construction

CDateTimeCtrl

Constructs a CDateTimeCtrl object.

Create

Creates the date and time picker control and attaches it to the CDateTimeCtrl object.

Attributes

GetMonthCalColor

Retrieves the color for a given portion of the month calendar within the date and time picker control.

GetMonthCalCtrl

Retrieves the CMonthCalCtrl object associated with the date and time picker control.

GetMonthCalFont

Retrieves the font currently used by the date and time picker control's child month calendar control.

GetMonthCalStyle

Gets the style of the current date and time picker control.

GetRange

Retrieves the current minimum and maximum allowed system times for a date and time picker control.

SetFormat

Sets the display of a date and time picker control in accordance with a given format string.

SetMonthCalColor

Sets the color for a given portion of the month calendar within a date and time picker control.

SetMonthCalFont

Sets the font that the date and time picker control's child month calendar control will use.

SetMonthCalStyle

Sets the style of the current date and time picker control.

SetRange

Sets the minimum and maximum allowed system times for a date and time picker control.

Operations

GetTime

Retrieves the currently selected time from a date and time picker control and puts it in a specified SYSTEMTIME structure.

GetDateTimePickerInfo

Retrieves information about the current date and time picker control.

CloseMonthCal

Closes the current date and time picker control.

GetIdealSize

Returns the ideal size of the date and time picker control that is required to display the current date or time.

SetTime

Sets the time in a date and time picker control.

See Also

Reference

CDateTimeCtrl Class

Hierarchy Chart