Hey
i've created a spin button control, add a "member variable" of type CSpinButtonCtrl
On the initdialog i set the range from 0 to 510. also set the accel
on the OnHScroll of my window i've type-casted the scrollbar into a spinbuttonctrl so i can check the hwnd to know that it is mt spin button, and then i checked the position of my spin button control (using the original variable), using GetPos().
it always returns me 655
how can i use it right?
Thanks, Daniel Cohen Gindi
dcgsmix@gmx.net
i've created a spin button control, add a "member variable" of type CSpinButtonCtrl
On the initdialog i set the range from 0 to 510. also set the accel
on the OnHScroll of my window i've type-casted the scrollbar into a spinbuttonctrl so i can check the hwnd to know that it is mt spin button, and then i checked the position of my spin button control (using the original variable), using GetPos().
it always returns me 655
how can i use it right?
Thanks, Daniel Cohen Gindi
dcgsmix@gmx.net