bgiSetTimePickerTime

Sets the time in a TimePicker control to the specified hour, minute, and second. Takes gizmo (Int), hour (Int), minute (Int), and second (Int). Returns 1 on success, 0 if gizmo not found.

BGI GUI

Parameters & Returns

Parameters

gizmo Int
hour Int
minute Int
second Int

Returns

Int

Quick Summary

Sets the time in a TimePicker control to the specified hour, minute, and second. Takes gizmo (Int), hour (Int), minute (Int), and second (Int). Returns 1 on success, 0 if gizmo not found.

Technical Exegesis...

Sets the time in a TimePicker control to the specified hour, minute, and second. Searches gizmoMap for gizmo ID using find(). If found, calls DateTime_GetSystemtime() to retrieve current SYSTEMTIME structure. Modifies st.wHour=hour, st.wMinute=minute, st.wSecond=second. Calls DateTime_SetSystemtime() with GDT_VALID flag to update picker. Returns 1 on success, 0 if gizmo not found.

This function programmatically sets a TimePicker's time.

Example

Example.bam
; No example implemented yet