want help about scroll bar
-
hi, if i drag an objekt from my CScrollView window to the top of the area of a scroll bar, i want the view to scroll automatically in the same direction. Could you plz tell me how to do it? Thanks! withoutdruck
-
hi, if i drag an objekt from my CScrollView window to the top of the area of a scroll bar, i want the view to scroll automatically in the same direction. Could you plz tell me how to do it? Thanks! withoutdruck
Normaly you should set timer, when in drag mode and cursor x pixels from top; and then inside OnTimer handler scroll window. Brian
-
Normaly you should set timer, when in drag mode and cursor x pixels from top; and then inside OnTimer handler scroll window. Brian
Thanks Brian. But when I tried to identify the runtime class according to the cursor position, it told me always it was of the same CSrcollView class, although the cursor was just above the scroll bar.