pStorage (PVOID)
A place for the returned value. This value is either the address of a string or the address of a long variable.
If the usBufSize is 0, param1 is assumed to be an address of a long variable.
If param1 is Other, it is assumed to be an address of a string.
NULL
usBufSize (USHORT)
If usBufSize is too small to return all of the text, the spin button returns as much of the text as it can.
If the data in the spin button is in an array, the index of the current array value (or last valid value) is passed back in the variable.
Other
usValue (USHORT)
Controls how the spin field is updated.
SPBQ_UPDATEIFVALID
Specifying this flag on a query will not update the contents of the spin field if it is exactly the same as an item in the spin button list.
If an item in the list is Monday, specifying SPBQ_UPDATEIFVALID updates the spin field contents when MONDAY, monday, or mONDAY are typed, but not when Monday is typed. This prevents recursion if the application checks for the validity each time a SPBN_CHANGE message is sent from the component.
If the spin button is spinning numbers between an upper and a lower limit, and the content of the spin field is a valid number that is out of range, the spin button does not reset itself to the last valid value. It sets the current position at the upper limit when the out-of-range number specified is above the upper limit. It sets the current position at the lower limit when the out-of-range number is below the lower limit.
When the current value is changed, the return of the query message is still FALSE.
rc (BOOL)