bgiGetTimePickerHour

Returns the hour component (0-23) from a TimePicker control. Takes gizmo (Int). Returns st.

BGI GUI

Parameters & Returns

Parameters

gizmo Int

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).

Example

Example.bam
; No example implemented yet