Manualy Scrolling A TreeCtrl
-
I have a tree control where i have drag and drop however if you want to drag to something thats scrolled off the screen you have to using the arrow keys or scroll button while still holding the item your dragging my question is how can i make it so when the user drags the mouse to the bottom its starts scroll untill the user stops moving the mouse i tried ScrollWindow But that seemed all screwed up and i tried mapping the OnVScroll but im not really sure what paremeters to pass it can someone pls point me in the right direction thanks
-
I have a tree control where i have drag and drop however if you want to drag to something thats scrolled off the screen you have to using the arrow keys or scroll button while still holding the item your dragging my question is how can i make it so when the user drags the mouse to the bottom its starts scroll untill the user stops moving the mouse i tried ScrollWindow But that seemed all screwed up and i tried mapping the OnVScroll but im not really sure what paremeters to pass it can someone pls point me in the right direction thanks
Hi Marissa, You can use varuious tecknikues to implement drag and drop, but in any case you can use HitTest and EnshureVisible to determine position and show item in a tree control. Vitali