Thread View: borland.public.delphi.vcl.components.using.general
6 messages
6 total messages
Started by Jim
Mon, 21 Jul 2008 12:58
MouseWheel Scroll Direction
Author: Jim
Date: Mon, 21 Jul 2008 12:58
Date: Mon, 21 Jul 2008 12:58
11 lines
1065 bytes
1065 bytes
Once in a while I get a comment that my application scrolls windows in the opposite direction that the rest of the applications on a particular computer do. Any thoughts as to why this may be? I am using D7. Thanks, Jim -- www.mustangpeak.net
Re: MouseWheel Scroll Direction
Author: Peter Below (TeamB)
Date: Mon, 21 Jul 2008 17:43
Date: Mon, 21 Jul 2008 17:43
17 lines
1496 bytes
1496 bytes
Jim wrote: > > Once in a while I get a comment that my application scrolls windows in > the opposite direction that the rest of the applications on a > particular computer do. Any thoughts as to why this may be? Do you handle OnMousewheel events in your code somewhere? And which controls are affected by this problem? For most controls the VCL just leaves the mouse wheel handling to the OS, you know... -- Peter Below (TeamB) Don't be a vampire (http://slash7.com/pages/vampires), use the newsgroup archives : http://www.tamaracka.com/search.htm http://groups.google.com
Re: MouseWheel Scroll Direction
Author: Jim
Date: Tue, 22 Jul 2008 01:19
Date: Tue, 22 Jul 2008 01:19
19 lines
1424 bytes
1424 bytes
Peter Below (TeamB) wrote: > Jim wrote: > > > > > Once in a while I get a comment that my application scrolls windows > > in the opposite direction that the rest of the applications on a > > particular computer do. Any thoughts as to why this may be? > > Do you handle OnMousewheel events in your code somewhere? And which > controls are affected by this problem? For most controls the VCL just > leaves the mouse wheel handling to the OS, you know... Yes, as most of the controls are either mine (EasyListview, VirtualShellTools) or Mike Lischke' (VirtualTreeview) Jim -- www.mustangpeak.net
Re: MouseWheel Scroll Direction
Author: Peter Below (TeamB)
Date: Tue, 22 Jul 2008 17:27
Date: Tue, 22 Jul 2008 17:27
31 lines
2072 bytes
2072 bytes
Jim wrote: > Peter Below (TeamB) wrote: > > > Jim wrote: > > > > > > > > Once in a while I get a comment that my application scrolls > > > windows in the opposite direction that the rest of the > > > applications on a particular computer do. Any thoughts as to why > > > this may be? > > > > Do you handle OnMousewheel events in your code somewhere? And which > > controls are affected by this problem? For most controls the VCL > > just leaves the mouse wheel handling to the OS, you know... > > Yes, as most of the controls are either mine (EasyListview, > VirtualShellTools) or Mike Lischke' (VirtualTreeview) Then examine how you interpret the delta value of the message. It's dead easy to scroll in the wrong direction if you don't read the MS docs very carefully, since its somewhat unintuitive, due to the fact that the Windows standard coordinate system is upside down from a normal cartesian one. -- Peter Below (TeamB) Don't be a vampire (http://slash7.com/pages/vampires), use the newsgroup archives : http://www.tamaracka.com/search.htm http://groups.google.com
Re: MouseWheel Scroll Direction
Author: Jim
Date: Wed, 23 Jul 2008 01:35
Date: Wed, 23 Jul 2008 01:35
14 lines
1463 bytes
1463 bytes
> Then examine how you interpret the delta value of the message. It's > dead easy to scroll in the wrong direction if you don't read the MS > docs very carefully, since its somewhat unintuitive, due to the fact > that the Windows standard coordinate system is upside down from a > normal cartesian one. Understood but why does it seem to work "correct" on my and many others system for years and I only get this once it a blue moon (two that I can recall in 4+ years) Jim -- www.mustangpeak.net
Re: MouseWheel Scroll Direction
Author: Peter Below (TeamB)
Date: Wed, 23 Jul 2008 18:07
Date: Wed, 23 Jul 2008 18:07
22 lines
1907 bytes
1907 bytes
Jim wrote: > > > Then examine how you interpret the delta value of the message. It's > > dead easy to scroll in the wrong direction if you don't read the MS > > docs very carefully, since its somewhat unintuitive, due to the fact > > that the Windows standard coordinate system is upside down from a > > normal cartesian one. > > Understood but why does it seem to work "correct" on my and many > others system for years and I only get this once it a blue moon (two > that I can recall in 4+ years) In this case I would suspect buggy mouse drivers on the users system and not your program code. -- Peter Below (TeamB) Don't be a vampire (http://slash7.com/pages/vampires), use the newsgroup archives : http://www.tamaracka.com/search.htm http://groups.google.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads