SCROLL BY CLONE
Posted on 1999-07-20
I wish to hide a scollbar from a component ( tree , list , memo , DBGrid etc ) and to use a scrollbar located to another position .
For this I need to know all the time the max and position of , for example , TreeView to set my scrollbar . If I expand a node then my scrollbar will be change the max value and position , too .
For scroll I use Tree or else . Perform(WM_VSCROLL, SB_LINEDOWN, 0); [( SB_LINEDOWN, SB_LINEUP, SB_LINELEFT, SB_LINERIGHT)] .
In conclusion , I wish to hide the scrollbar of a component and to control this from a clone .
HOW CAN I HIDE THE SCROLLBAR FROM COMPONENT AND THEN TO USE AN ANOTHER SCROLLBAR ( ALIKE A CLONE OF THE FIRST ) TO CONTROL THE SCROLL OF COMPONENT .
P.S. Please comment . If your comment help me I will notify you to put an answer .