Hi,
What I'm trying to do is get the form to scroll when i'm dragging any object near it's border.
I've done this by capturing the mouse position testing if it's near the border and using:
SendMessage(Hold->Handle,WM_VSCROLL,SB_LINEDOWN,0);
SendMessage(Hold->Handle,WM_VSCROLL,SB_ENDSCROLL,0)...
For some reason the wheel mouse works on some components (treeviews) but not on my forms. I'm not sure which windows message to trap to catch the wheel mouse.
I'm also trying to then scroll the form, I've tried using
this->Perform(EM_SCROLL,SB_LINEDOWN,0);
and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.