The first step this was to disable a little software I have here called WizMouse. The mouse wheel became to work immediatly in the spinner controlled textboxes of the Part Orientation Dialog.
To Make the others work I had to change the spinner RC definition from
UDS_ARROWKEYS
to
UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS | UDS_HOTTRACK
This made the mouse wheel move, but in undesired manner: it was stepping by one unit, moving up was decrementing, and it had an upper limit of 100!
Why? Because, I have a function for handling UDN_DELTAPOS to manipulate the offset of the spinner. It defines to step the value as a double with a delta of 5.0. And this was happening also when clicking direcly on the two spinner buttons!
In that function, all I had to do is to set *pResult to 1 instead of 0.
Now everything works fine :)
Thanks, one more time.