WinXAddTimePicker (hParent, format, SYSTEMTIME initialTime, timeValid, id)
Creates a new Date/Time Picker control
Parameter | Description |
---|---|
hParent | The handle to the window to add the Date/Time Picker control to |
format | The format for the control, can be $$DTS_LONGDATEFORMAT, $$DTS_SHORTDATEFORMAT or $$DTS_TIMEFORMAT |
SYSTEMTIME initialTime | The time to initialise the control to |
timeValid | $$TRUE if initialTime is valid, $$FALSE otherwise. If this parameter is $$FALSE the control's time will not be set. |
id | The unique id constant for this control |
The handle to the new control or 0 on fail
none
$$ID_DTP = 100 SYSTEMTIME initialTime ... ' Make a control to select a time |
Time/Date Controls
WinXTimePicker_GetTime
WinXTimePicker_SetTime