Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Classes

~CExtDateTimeWnd Destructor
CExtDateTimeWnd Constructor
GetAsSystemTime Allows you to retrieve the date/time value as a SYSTEMTIME data structure. The method returns TRUE if succeeded or FALSE if the conversion fails, or if the date/time value is not set.
GetAutoSelectNext Returns true if the AutoSelectNext mode is turned on; false otherwise.
GetDateTime Returns the date/time value.
GetDay Returns the day of the month. Valid return values range between 1 and 31.
GetDayOfYear Returns the day of the year.
GetDayOfWeek Returns the day of the week. Valid return values range between 1 and 7, where 1=Sunday, 2=Monday, and so on.
GetHour Gets the hour. Valid return values range between 0 and 23.
GetMinute Gets the minute. Valid return values range between 0 and 59.
GetMode Returns the current display mode (only time, only date, or date and time).
GetMonth Gets the month. Valid return values range between 1 and 12.
GetSecond Gets the second. Valid return values range between 0 and 59.
GetTimeFormat Returns the time format.
GetYear Gets the year.
SetAutoSelectNext Turns on or off the AutoSelectNext mode, which allows you to specify if the next part of the data/time field will be automatically selected when you complete filling in the current part.
SetBlank Makes all the fields blank. The control remains enabled for date and type input after that.
SetDate Sets a new date value and returns zero if succeeded or 1 otherwise.
SetDateTime Sets a new date/time value.
SetMode Sets a new display mode (only time, only date, or date and time).
SetTime �Sets a new time value and returns zero if succeeded or 1 otherwise.
SetTimeFormat Sets a new time format (12-hour, 24-hour or automatically detected).
ShowDropDown Shows the drop-down calendar of the date/time control and returns true if successful or false otherwise.
stat_GetDaysInMonth Returns the number of days in the specified month.

Overridables

OnQueryTimeFormat24Hours Returns true if the control displays time in the 24-hour format or false if the format is 12-hour.
OnValueChanging Called before the date/time is to be changed and returns true if the date/time change can be changed or false otherwise.
OnValueChanged Called when the date/time has changed.

Operators

operator= Assignment operator.
operator ! Inequality operator.
operator < Less than operator.
operator > Greater than operator.
operator < Less than or equal to operator.
operator > Greater than or equal to operator.

See Also

CExtDateTimeWnd Overview | Hierarchy Chart