Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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

Greyhound Lines, Inc.


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.

Clicky, clicky

Hopefully that works, if not, here it is again, not as a link:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/mouseinput/mouseinputreference/mouseinputmessages/wm_mousewheel.asp

msorrel@greyhound.com

Greyhound Lines, Inc.


At 02 OCT 2002 04:14PM Matt Sorrell wrote:

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

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/40e7a8a25167261085256c4600573f40.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1