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

Classes

CExtGridCellDateTime Constructor
IsItemVisible Returns true if the field specified by eItem is visible or false otherwise. You can override this method to control the visibility of each date/time field.
GetAsSystemTime Allows you to retrieve the date/time value as a SYSTEMTIME data structure. The method returns TRUE if successful or FALSE if the conversion fails, or if the date/time value is not set.
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.
SetDate Sets a new date value and returns zero if successful 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 successful or 1 otherwise.
SetTimeFormat Sets a new time format (12-hour, 24-hour or automatically detected).

Overridables

OnValueChanging Called before the date/time is to be changed and returns true if the date/time change is allowed or false if the date/time should not be changed.
OnValueChanged Called when the date/time has been changed.
OnPopupDatePickerInitContent Called to initialize the popup date picker menu.
OnPopupDatePickerSelChange Called when the user was changed selection in the popup date picker menu.
OnQueryDatePickerStyle Returns style of the date picker object in the popup menu.

Operators

operator= Assignment operator.

See Also

CExtGridCellDateTime Overview | Hierarchy Chart