hwnd (HWND)
The interpretation of this handle is dependent upon the following notification codes:
The param2 parameter is the handle to the currently selected spin field in a particular master-servant setup. If either the Up or Down Arrow is clicked on and none of a spin button's servants are currently selected, the master will return a handle to itself.
The param2 parameter is the handle of the currently selected spin field.
This message tells the application which spin field is selected.
The param2 parameter is NULLHANDLE if the spin field loses focus or no spin field is currently selected.
This message tells the application when a spin field loses focus.
Note: Both SPBN_KILLFOCUS and SPBN_SETFOCUS are set independently. You must check this message only when the application does not specify a master-servant relationship.
The param2 parameter is the handle of the spin button in which the spin field text changed.