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)...
When I run winsite32 and do a mouse wheel down this is the resulting message stream
00295.775 000113:000102C0 {TDBMemo} WM_USER+0xB938 Sent wp=01010043 lp=000102C0
00296.656 000114:000102C0 {TDBMemo} WM_0x20A Dispatched wp=FF880000 lp=00E501B4
00296.686 000115:000102C0 {TDBMemo}...
Even if I click the top of the form it won't scroll with the wheel mouse.
I'm currently on NT could that have anything to do with it?
The issue i'm having is a little earlier in the chain.
C++ Builder 3 simply does not have an OnMouseWheel event, I need to figure out a way
to intercept the...
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.