Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spin button control

Status
Not open for further replies.

dcgsmix

Programmer
Dec 20, 2001
35
0
0
IL
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top