Problem while horizontal scroling
-
Hi all I am facing a problem while horizontal scrolling. My class is derived from CScrollView and i am displaying a graph in that class. While i am dragging the scrollbar and when it reached in the middle, it is returning to the initial position.But there is no problem with scroll to absolute position. Please help me Thanks and regards Deepu
-
Hi all I am facing a problem while horizontal scrolling. My class is derived from CScrollView and i am displaying a graph in that class. While i am dragging the scrollbar and when it reached in the middle, it is returning to the initial position.But there is no problem with scroll to absolute position. Please help me Thanks and regards Deepu
It's more than likely that your OnHScroll handler's wrong, resetting the scroll bar position after dragging. But it's difficult to tell when you've provided so little information.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
-
It's more than likely that your OnHScroll handler's wrong, resetting the scroll bar position after dragging. But it's difficult to tell when you've provided so little information.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
I have commented the code inside the OnHScroll.But still it is showing the same result.
-
It's more than likely that your OnHScroll handler's wrong, resetting the scroll bar position after dragging. But it's difficult to tell when you've provided so little information.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
Hi Stuart Thanks for the repling me. The nPos parameter of the OnHscrol can handle only 16 bit data. So when nPos is greater than 32677 it resets to 0.Thats why it was going to the initial posistion. Using GetScrollInfo function it can be made into 32 bit data.
-
Hi Stuart Thanks for the repling me. The nPos parameter of the OnHscrol can handle only 16 bit data. So when nPos is greater than 32677 it resets to 0.Thats why it was going to the initial posistion. Using GetScrollInfo function it can be made into 32 bit data.
Thanks for your feedback!
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p