Hello.
I have a UltraListView control (View=Details).
I have a problem with the mouse scroll button.
when scrolling up with (mouse scroll button), scrolling works great (the list is scrolling up),
but when scrolling down with (mouse scroll button), the scrolling is going UP!!!!
Please help,
Thanks.
Assuming that by "mouse scroll button" you are referring to the mouse wheel, the control does this by overriding the OnMouseWheel method, which passes in the wheel delta. This number is a signed integer that defines the number of detents the wheel was scrolled, with the sign indicating the direction. This is a function of the mouse driver...since the wheel behavior is configurable, it would seem possible that there is a way to configure it to do what you are describing, although I have never seen it myself.
Hello Brian, and thank u for the reply.
I think this is a bug of the list, because when I registerd the OnMouseWheel event of the listview, I saw that in the e.Delta is POSITIVE for wheel UP and NEGATIVE for wheel DOWN.
(note that, this is the default behavior - i didn't do anything in the OnMouseWheel event/method.
Thanks in advance
I was not able to reproduce this with a simple test, and we have had no reports of this to my knowledge (I think it would be highly visible if it were a widespread problem), so you might want to report it and attach a sample so we can reproduce it.
attached a very simple example that reproduce the problem.
maybe the probelm is depend on the OS? (Win7 pro-32bit)
Like I stated previously it is more likely a problem with the mouse driver
I'm having this problem also. It is apparently mouse specific because other people here aren't having the problem. OTOH, I'm not having the problem with any other programs or with any other controls in the same program. The mouse is a Microsoft Wireless Intellimouse Explorer 2.0 and I've just installed the latest Intellipoint software (on Windows 7, 32 bit).