Returns the hour component (0-23) from a TimePicker control.
Takes gizmo (Int).
Returns st.
BGI GUI
Parameters & Returns
Parameters
gizmoInt
Returns
Int
Quick Summary
Returns the hour component (0-23) from a TimePicker control.
Takes gizmo (Int).
Returns st.
Technical Exegesis...
Returns the hour component (0-23) from a TimePicker control. Searches gizmoMap for gizmo ID using find(). If found, calls DateTime_GetSystemtime() to retrieve SYSTEMTIME structure. Returns st.wHour field. Returns 0 if gizmo not found.
This function retrieves the hour value from a TimePicker control. DateTime_GetSystemtime is a Windows Common Controls macro wrapping DTM_GETSYSTEMTIME message. SYSTEMTIME.wHour field contains hour in 24-hour format (0-23, where 0=midnight, 12=noon, 23=11 PM).
Returns the hour component (0-23) from a TimePicker control. Searches gizmoMap for gizmo ID using find(). If found, calls DateTime_GetSystemtime() to retrieve SYSTEMTIME structure. Returns st.wHour field. Returns 0 if gizmo not found.
This function retrieves the hour value from a TimePicker control. DateTime_GetSystemtime is a Windows Common Controls macro wrapping DTM_GETSYSTEMTIME message. SYSTEMTIME.wHour field contains hour in 24-hour format (0-23, where 0=midnight, 12=noon, 23=11 PM). Returns 0 for invalid gizmo ID (ambiguous - 0 is valid midnight hour). Use after user adjusts time or to query current picker value. Common pattern: call all three getters (Hour, Minute, Second) to retrieve complete time.