Scrolling using touchpad

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Please download a new version of the ScrollMessageSniffer:
http://www.xyplorer.com/download/Scroll ... niffer.zip

There is a dummy scrollbar now that should scroll if the wheel/scrolling message is detected.

Also watch value numWheelScrollLines (should be printed in the green field when scrolling). It should be > 0!

scrotty
Posts: 52
Joined: 19 Jan 2008 08:25
Location: Colorado, USA

Post by scrotty »

I see neither a value show up in the green area nor the scroll bar move. So, in case I did something wrong, I created a screen recording of my actions. It's an SWF file - let me know if you have trouble viewing it.

http://www.2and2.net/files/483442df7038a.swf (This is ~400K, it took a solid minute for this hosting site to serve the video when I clicked the link.)

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

scrotty wrote:I see neither a value show up in the green area nor the scroll bar move. So, in case I did something wrong, I created a screen recording of my actions. It's an SWF file - let me know if you have trouble viewing it.

http://www.2and2.net/files/483442df7038a.swf (This is ~400K, it took a solid minute for this hosting site to serve the video when I clicked the link.)
Ultra-weird. I looking at it as if you just had proved to me that 1+1=3. Your movie (BTW, what software do you use for it??) is not possible according to my source code. :? Meditating...

scrotty
Posts: 52
Joined: 19 Jan 2008 08:25
Location: Colorado, USA

Post by scrotty »

[These results are] not possible according to my source code.
Code never lies! :)
What software do you use for [screen recording]?
I just grabbed Camtasia (http://www.techsmith.com/camtasia.asp). There is a free trial. There are also numerous freeware screen recorders (http://camstudio.org/), but I was having a devil of a time this morning getting the downloads for them to complete.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

admin wrote:j_c_hallgren gets uMsg 21, that's WM_MOUSEACTIVATE and has nothing to do with scrolling -- scrolling should not work for j_c_hallgren.
Well, when I select an item in the upper right box, and then slide my finger up/down against the right edge of my pad (the scroll area that I've defined), the list items 'spin' up/down as they should, though the nbrs of items in list isn't really enough to see effect for more than a instant.

Now, I can't get ANY scrolling of any type to occur in the green box, maybe because there isn't a scroll bar within field itself and something there to scroll that can be detected?
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.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

j_c_hallgren wrote:Now, I can't get ANY scrolling of any type to occur in the green box, maybe because there isn't a scroll bar within field itself and something there to scroll that can be detected?
This is one of my theories as well...

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

scrotty wrote:
[These results are] not possible according to my source code.
Code never lies! :)
What software do you use for [screen recording]?
I just grabbed Camtasia (http://www.techsmith.com/camtasia.asp). There is a free trial. There are also numerous freeware screen recorders (http://camstudio.org/), but I was having a devil of a time this morning getting the downloads for them to complete.
300$... that makes me think... am I too cheap, FAR too cheap???

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

Please download a new version of the ScrollMessageSniffer again:
http://www.xyplorer.com/download/Scroll ... niffer.zip

Now the box is either green or violett, but there should be something in it and the scrollbar should react if you get message 20A.

scrotty
Posts: 52
Joined: 19 Jan 2008 08:25
Location: Colorado, USA

Post by scrotty »

admin wrote:
scrotty wrote:I just grabbed Camtasia (http://www.techsmith.com/camtasia.asp). There is a free trial. There are also numerous freeware screen recorders (http://camstudio.org/), but I was having a devil of a time this morning getting the downloads for them to complete.
300$... that makes me think... am I too cheap, FAR too cheap???
Are you saying, "Am I too cheap to buy a screen recording program for $300?" or "Is XYplorer far too cheap?"

I'm glad I already have my lifetime license if it's the latter. :)

And $300 is nothing. The big daddy, Adobe's Captivate is $700.

raananb
Posts: 131
Joined: 12 Feb 2008 23:38

Post by raananb »

The box is green at start up. It turns violet when I start scrolling, and it contains:

21:15:08
Delta = -1
Shift = 0
X = 333 (something to that effect)
Y = 444
numWheelScrollLines = 3

With the mouse pointer over the colored area, the scrollbar on its right scrolls up and down as I move over the scroll area on the thouchpad.

When scrolling in the colored box the messages are: (the first message is probably the positionning of the mouse and the last one is the click on the Copy button)

21:15:55 hWnd=80466 uMsg= 111 wHi=0 wLo=5 lHi=7 lLo=1246
21:15:59 hWnd=80466 uMsg= 20A wHi=-120 wLo=0 lHi=305 lLo=319
21:16:00 hWnd=80466 uMsg= 20A wHi=-120 wLo=0 lHi=305 lLo=319
21:16:00 hWnd=80466 uMsg= 20A wHi=-120 wLo=0 lHi=305 lLo=319
21:16:00 hWnd=80466 uMsg= 20A wHi=-128 wLo=0 lHi=305 lLo=319
21:16:00 hWnd=80466 uMsg= 20A wHi=-120 wLo=0 lHi=305 lLo=319
21:16:01 hWnd=80466 uMsg= 20A wHi=-128 wLo=0 lHi=305 lLo=319
21:16:03 hWnd=80466 uMsg= 20A wHi=120 wLo=0 lHi=305 lLo=319
21:16:04 hWnd=80466 uMsg= 20A wHi=120 wLo=0 lHi=305 lLo=319
21:16:04 hWnd=80466 uMsg= 20A wHi=120 wLo=0 lHi=305 lLo=319
21:16:11 hWnd=80466 uMsg= 21 wHi=8 wLo=1126 lHi=513 lLo=1

When scrolling in the top right box the messages are:

21:18:50 hWnd=80466 uMsg= 111 wHi=0 wLo=5 lHi=7 lLo=1246
21:18:55 hWnd=80466 uMsg= 21 wHi=8 wLo=1126 lHi=513 lLo=1
21:18:55 hWnd=80466 uMsg= 111 wHi=4 wLo=7 lHi=9 lLo=330
21:18:55 hWnd=80466 uMsg= 131 wHi=0 wLo=8 lHi=59 lLo=152
21:18:55 hWnd=80466 uMsg= 111 wHi=1 wLo=7 lHi=9 lLo=330
21:19:01 hWnd=80466 uMsg= 21 wHi=8 wLo=1126 lHi=513 lLo=1
21:19:01 hWnd=80466 uMsg= 111 wHi=5 wLo=7 lHi=9 lLo=330
21:19:01 hWnd=80466 uMsg= 111 wHi=5 wLo=7 lHi=9 lLo=330

Note that scrolling in the top-right box works correctly, but does not produces messages in the message box - only the selection and the click Copy (or Clear) produce the messages you see above (4 per click).

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

admin wrote:Now the box is either green or violett, but there should be something in it and the scrollbar should react if you get message 20A.
FWIW, I still don't get any reaction or msgs to scroll attempts within the green box.
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.

scrotty
Posts: 52
Joined: 19 Jan 2008 08:25
Location: Colorado, USA

Post by scrotty »

admin wrote:Please download a new version of the ScrollMessageSniffer again:
http://www.xyplorer.com/download/Scroll ... niffer.zip

Now the box is either green or violett, but there should be something in it and the scrollbar should react if you get message 20A.
I do get scrolling! :)

Here is my run. Another swf, but hosted in a different place - it seems faster.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

scrotty wrote:
admin wrote:Please download a new version of the ScrollMessageSniffer again:
http://www.xyplorer.com/download/Scroll ... niffer.zip

Now the box is either green or violett, but there should be something in it and the scrollbar should react if you get message 20A.
I do get scrolling! :)

Here is my run. Another swf, but hosted in a different place - it seems faster.
Wow. So the issue, at least in your case (and as it looks also raananb's case) is quite trivial: the scrolling message was correctly fired but the control to scroll was not correctly determined! I'm now looking into why not...

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Just for the fun of confusion, I don't get any 20A and never see any info on the green box, but I do get my scrolling to work perfectly so it's all fine by me :)

Code: Select all

22:21:24  hWnd=7E11BE	uMsg=   8 wHi=111 wLo=4584 lHi=0 lLo=0
22:21:24  hWnd=7E11BE	uMsg=   7 wHi=111 wLo=4584 lHi=0 lLo=0
22:21:24  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=1 lHi=155 lLo=4608
22:21:24  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=1 lHi=155 lLo=4608
22:21:24  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=1 lHi=155 lLo=4608
22:21:24  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=8 lHi=155 lLo=4608
22:21:25  hWnd=7E11BE	uMsg=   8 wHi=111 wLo=4584 lHi=0 lLo=0
22:21:25  hWnd=7E11BE	uMsg=   7 wHi=111 wLo=4584 lHi=0 lLo=0
22:21:25  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=0 lHi=155 lLo=4608
22:21:25  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=0 lHi=155 lLo=4608
22:21:25  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=0 lHi=155 lLo=4608
22:21:25  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=8 lHi=155 lLo=4608
PS: Okay it's actually due to the great KatMouse, without which I couldn't live, when disabled I go get the expected 20A & info on the green box...
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:Just for the fun of confusion, I don't get any 20A and never see any info on the green box, but I do get my scrolling to work perfectly so it's all fine by me :)

Code: Select all

22:21:24  hWnd=7E11BE	uMsg=   8 wHi=111 wLo=4584 lHi=0 lLo=0
22:21:24  hWnd=7E11BE	uMsg=   7 wHi=111 wLo=4584 lHi=0 lLo=0
22:21:24  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=1 lHi=155 lLo=4608
22:21:24  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=1 lHi=155 lLo=4608
22:21:24  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=1 lHi=155 lLo=4608
22:21:24  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=8 lHi=155 lLo=4608
22:21:25  hWnd=7E11BE	uMsg=   8 wHi=111 wLo=4584 lHi=0 lLo=0
22:21:25  hWnd=7E11BE	uMsg=   7 wHi=111 wLo=4584 lHi=0 lLo=0
22:21:25  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=0 lHi=155 lLo=4608
22:21:25  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=0 lHi=155 lLo=4608
22:21:25  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=0 lHi=155 lLo=4608
22:21:25  hWnd=7E11BE	uMsg= 115 wHi=0 wLo=8 lHi=155 lLo=4608
PS: Okay it's actually due to the great KatMouse, without which I couldn't live, when disabled I go get the expected 20A & info on the green box...
You sure know how to shock me. :wink:

Okay, Please download a new version #4 of the ScrollMessageSniffer again:
http://www.xyplorer.com/download/Scroll ... niffer.zip

Green box info:

Code: Select all

22:13:33
Delta = -1
Shift = 0
X/Y = 265/221
Mouse.X/Y = 265/221
hWnd Mouse Over = 15533018
numWheelScrollLines = 6
Please compare the numbers:
X/Y = 265/221
Mouse.X/Y = 265/221
Are they identical as in my example? If not we found the culprit...

Post Reply