bgiGetSpinnerValue

Gets the current position value of a spinner control. Takes spinner (Int). Returns LOWORD(pos) - low word of result containing the position value on success, 0 if spinner not found.

BGI GUI

Parameters & Returns

Parameters

spinner Int

Returns

Int

Quick Summary

Gets the current position value of a spinner control. Takes spinner (Int). Returns LOWORD(pos) - low word of result containing the position value on success, 0 if spinner not found.

Technical Exegesis...

Gets the current position value of a spinner (up-down) control. Searches gizmoMap for the spinner ID. Sends UDM_GETPOS message to retrieve current position. Returns LOWORD(pos) - low word of result containing the position value on success, 0 if spinner not found.

This function retrieves the spinner's current value as an integer. Value is within the range set by bgiSetSpinnerRange (default 0-100).

Example

Example.bam
; No example implemented yet