The application sends this message to the component to tell a component
who its master is.
When the application wants to take control of the spin button, it must set
the param1 of each spin button to NULLHANDLE. This must be done,
for example, when a spin button with a non-contiguous list of spin values
is created (2, 4, 6, 8, 10...). When the param1 of a spin button
is NULLHANDLE, the spin button does not perform the following default functions:
- Spin up or down on its own when the Up or Down Arrow
key is pressed.
- Spin up or down when the Up or Down Arrow of the master
is pressed.
- A master does not take the focus when its arrows are
pressed and none of its servants have focus.
- The spin button does not send itself an SPBM_QUERYVALUE
message with the SPBQ_ALWAYSUPDATE flag to update the current value
when an SPBM_SPINUP or SPBM_SPINDOWN
message is received.
- The spin button does not fast spin.
[Back]
[Next]