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.