Im working on a program which moves a panel within a form. I use a scrollbar to change the panels .Top property. However, this property will only reach -32768. In this case, i need it to go much higher (or lower o0). Is there anyway i can change it to a 32bit int so it can go upto −2147483648?
edit, maybe if i clarify what i am trying to do, you lot wont think it will be bad for useability.
Yesterday i asked this question: http://stackoverflow.com/questions/946840/c-vscrollbar-hscrollbar
But because i couldnt find an answer and no1 else answered me, i had to think of a different way to scroll a richtextbox. So my solution was to resize the textbox height to equal (textbox font height * total lines). That would mean that no scrollbars on the textbox would be shown. Now i use the scrollbar to move the textboxes top position to create a pseudo scroll effect. It works perfectly when the textbox has about 2000 lines at 13pixels as font height. But after that it ends up being higher then a 16bit int. Thats why i need to change it to a 32bit int.