bgiGetDatePickerYear

Returns the year component (4-digit) from a DatePicker control. Takes gizmo (Int). Returns st.

BGI GUI

Parameters & Returns

Parameters

gizmo Int

Returns

Int

Quick Summary

Returns the year component (4-digit) from a DatePicker control. Takes gizmo (Int). Returns st.

Technical Exegesis...

Returns the year component (4-digit) from a DatePicker control. Searches gizmoMap for gizmo ID using find(). If found, calls DateTime_GetSystemtime() to retrieve SYSTEMTIME structure. Returns st.wYear field. Returns 0 if gizmo not found.

This function retrieves the year value from a DatePicker control. DateTime_GetSystemtime is a Windows Common Controls macro wrapping DTM_GETSYSTEMTIME message. SYSTEMTIME.wYear field contains full 4-digit year (e.g., 2025).

Example

Example.bam
; No example implemented yet