Scrolling using touchpad
Scrolling using touchpad
Hey Donald,
I just got a new laptop, which has a Synaptics touchpad (standard on almost any laptop these days). You can scroll windows by dragging your finger along the right edge of the touch pad. This works in every application except for XY. I'm pretty sure this used to work in XY as well on other laptops I've had (some with Synaptics touchpads and some with Alps touchpads).
Do you have any idea what is going on here? XY is the only program that doesn't respond to this. I'm assuming it's sending sending either WM_VSCROLL/WM_HSCROLL, or WM_MOUSEWHEEL messages to the windows.
Actually, I just ran SPY++ and compared message output of the XY list view and a few other windows that do scroll (Firefox, Visual Studio, Explorer). I don't see any of those messages getting sent to any of the windows. I don't know how they are scrolling! There must be some trickery going on, though I'm guessing it can't be that tricky since no other app has this issue.
Anyways, this is driving me crazy. Would you mind taking a look?
Thanks,
Dario
I just got a new laptop, which has a Synaptics touchpad (standard on almost any laptop these days). You can scroll windows by dragging your finger along the right edge of the touch pad. This works in every application except for XY. I'm pretty sure this used to work in XY as well on other laptops I've had (some with Synaptics touchpads and some with Alps touchpads).
Do you have any idea what is going on here? XY is the only program that doesn't respond to this. I'm assuming it's sending sending either WM_VSCROLL/WM_HSCROLL, or WM_MOUSEWHEEL messages to the windows.
Actually, I just ran SPY++ and compared message output of the XY list view and a few other windows that do scroll (Firefox, Visual Studio, Explorer). I don't see any of those messages getting sent to any of the windows. I don't know how they are scrolling! There must be some trickery going on, though I'm guessing it can't be that tricky since no other app has this issue.
Anyways, this is driving me crazy. Would you mind taking a look?
Thanks,
Dario
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Scrolling using touchpad
This concerns all scrollbars? Or just the list?
If you want to try a ready made application that is written in VB6 then look at Calendar Magic from EuroSoft http://www.stokepoges.plus.com/calmag167.zip Home page is http://www.stokepoges.plus.com where there are other download sites if his home page doesn't work. Alex (the author) would no doubt be interested if you have a problem. I'm currently testing 16.8, but not on a laptop.diarrhio wrote:Hmm. I don't know if any are written in VB...
-
- XY Blog Master
- Posts: 5824
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
As I've written in my sig, I use a touchpad almost exclusively on my laptop...it's also a Synaptics (v7.9.3 05Feb04 vers via properties)...
However, I don't use the Virtual Scrolling feature very often, so never noticed this before, but now have tried it, and it doesn't work in XY for me either.
However, I don't use the Virtual Scrolling feature very often, so never noticed this before, but now have tried it, and it doesn't work in XY for me either.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
Ok. I don't really know how to use VB at all. But here's what I've done.
My initial test just created a Rich Edit Control and a Edit Control and made sure both had Horizontal and Vertical scrolling enabled in the resource editor.
Now I just tested creating a vertical scrollbar control and docking it to the right side of the Form. I didn't see any other properties that I needed to change. Particularly, I didn't see any way to say scroll the entire form... I think you have to manually code that up (like you do in C).
Anyways, using the touchpad from w/in the form didn't work. However, if I hovered the cursor over the scrollbar control and used the touchpad, the scrollbar did scroll, but nothing else did (i.e. the thumb position moved, but nothing else in the form... a few buttons and such.. did). So the scrollbar control itself was responding to the touchpad, but only if I hovered over it. I'm assuming this is because the scrollbar wasn't "buddied" up with anything to scroll.
I'm not familar enough with VB to do any more testing without any guidance, but the testing I've done has led me to believe it's not a VB issue.
One of the things I can do is dump the log from Spy++ for messages sent to/received from XY and some other application that does scroll properly. Let me know if that will help.
My initial test just created a Rich Edit Control and a Edit Control and made sure both had Horizontal and Vertical scrolling enabled in the resource editor.
Now I just tested creating a vertical scrollbar control and docking it to the right side of the Form. I didn't see any other properties that I needed to change. Particularly, I didn't see any way to say scroll the entire form... I think you have to manually code that up (like you do in C).
Anyways, using the touchpad from w/in the form didn't work. However, if I hovered the cursor over the scrollbar control and used the touchpad, the scrollbar did scroll, but nothing else did (i.e. the thumb position moved, but nothing else in the form... a few buttons and such.. did). So the scrollbar control itself was responding to the touchpad, but only if I hovered over it. I'm assuming this is because the scrollbar wasn't "buddied" up with anything to scroll.
I'm not familar enough with VB to do any more testing without any guidance, but the testing I've done has led me to believe it's not a VB issue.
One of the things I can do is dump the log from Spy++ for messages sent to/received from XY and some other application that does scroll properly. Let me know if that will help.
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
- throw a vertical scrollbar control on the formdiarrhio wrote:I'm not familar enough with VB to do any more testing without any guidance...
- make it tall enough so that you see the "slider" (or what it's called)
- compile
- then use your magic touchpad and try to scroll the slider: it should move (nothing else will be scrolled by it -- it's just a scrollbar without a meaning apart from scrolling itself). Does the slider move?
Correct. I did all that, and yes, the slider does move. But I have to be hovering the cursor over the scrollbar itself for that to happen. If I'm hovering somewhere else in the form, then no, the scrollbar's slider doesn't move, which makes sense since, as you say, it's just a scrollbar without a meaning, and hence wouldn't get any scrolling messages from the form itself.admin wrote: - throw a vertical scrollbar control on the form
- make it tall enough so that you see the "slider" (or what it's called)
- compile
- then use your magic touchpad and try to scroll the slider: it should move (nothing else will be scrolled by it -- it's just a scrollbar without a meaning apart from scrolling itself). Does the slider move?
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
And when hovering the cursor over the scrollbar in XY the slider does not move??diarrhio wrote:Correct. I did all that, and yes, the slider does move. But I have to be hovering the cursor over the scrollbar itself for that to happen. If I'm hovering somewhere else in the form, then no, the scrollbar's slider doesn't move, which makes sense since, as you say, it's just a scrollbar without a meaning, and hence wouldn't get any scrolling messages from the form itself.admin wrote: - throw a vertical scrollbar control on the form
- make it tall enough so that you see the "slider" (or what it's called)
- compile
- then use your magic touchpad and try to scroll the slider: it should move (nothing else will be scrolled by it -- it's just a scrollbar without a meaning apart from scrolling itself). Does the slider move?
-
- Site Admin
- Posts: 60595
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Okay, looks like the bug is on my side. I only do not see where it lurks. So, for the moment: admitted lack of support for Virtual Scrolling.diarrhio wrote:Correct. I forgot to include that (important) bit of informationadmin wrote:And when hovering the cursor over the scrollbar in XY the slider does not move??
PS:
Especially this information leaves me without ideas where to start trying...diarrhio wrote:Actually, I just ran SPY++ and compared message output of the XY list view and a few other windows that do scroll (Firefox, Visual Studio, Explorer). I don't see any of those messages getting sent to any of the windows. I don't know how they are scrolling!