Mouse wheel scrolling (OpenInsight 16-Bit Specific)
At 02 OCT 2002 11:52:58AM Colin Rule wrote:
My mouse wheel scroll does not work in OI tables, list boxes etc.
This this by design, due to the grid control used , or is there some method of getting this to work.
Using OI16 3.7.4
Colin
At 02 OCT 2002 03:52PM Matt Sorrell wrote:
I know with Visual Basic applications, you specifically have to code for this behavior. The mouse wheel generates a mouse event, but unfortunately I cannot think of which one.
Essentially, you have to trap the mouse event, and then pass the appropriate commands on to your application. For example, if you want scrolling, you have to manually tell your list box to scroll upon receipt of the mouse event.
If you search at either msdn.microsoft.com or support.microsoft.com, you should be able to find some Visual Basic examples of how to achieve this. However, I don't know if this functionality will work in OI16.
msorrel@greyhound.com
At 02 OCT 2002 04:13PM Matt Sorrell wrote:
Okay,
Here are the specifics on trapping the WM_MOUSEWHEEL message, which is passed to the window by the operating system.
Hopefully that works, if not, here it is again, not as a link:
msorrel@greyhound.com
At 02 OCT 2002 04:14PM Matt Sorrell wrote:
Hmmm, typo in the html code, sorry about that.
Let's try this again:
At 03 OCT 2002 07:51AM Colin Rule wrote:
Thanks, but……
We would then need to add this DLL call and link to every control that has scrolling.
If Revelation added it then it would automatically be there…. he says hopefully.
Colin