I have four CSpinButtonCtrl objects on my dialog.
They are all configured as:
- Auto Buddy
- Buddy Integer
The respective CEdit objects map to int variables and the maximum range is set to 0-20. Now I need the spin controls to match.
I know that I can map the spin controls to CSpinButtonCtrl variables and them use SetRange but I was hoping to avoid the need to create the variables. Some controls come with macro counterparts that take the HWND. Can a simple macro counterpart be created here so that I can set all the ranges to 0-20?