Log in

View Full Version : scrolling up and down


spursdude
01-12-2003, 04:04 AM
So i've noticed that while reading in IE or a Word document, hitting my d-pad up or down is essentially like hitting page-up/down on a desktop - nearly all the text will be changed except one lone line.

are there any utilities or pieces of software that can change how much each press of the d-pad will scroll down? like make it so each press will only scroll say 5 or 10 lines instead of the entire page.

that's been really bothering me...

Ekkie Tepsupornchai
01-12-2003, 04:26 AM
So i've noticed that while reading in IE or a Word document, hitting my d-pad up or down is essentially like hitting page-up/down on a desktop - nearly all the text will be changed except one lone line.

are there any utilities or pieces of software that can change how much each press of the d-pad will scroll down? like make it so each press will only scroll say 5 or 10 lines instead of the entire page.

that's been really bothering me...

I'd be interested in knowing the solution if there is one, but I don't believe there is (not with Pocket IE at least)... I do remember others complaining about the same thing in the past...

Pony99CA
01-12-2003, 03:08 PM
So i've noticed that while reading in IE or a Word document, hitting my d-pad up or down is essentially like hitting page-up/down on a desktop - nearly all the text will be changed except one lone line.

are there any utilities or pieces of software that can change how much each press of the d-pad will scroll down? like make it so each press will only scroll say 5 or 10 lines instead of the entire page.

Personally, I don't mind this behavior, but I agree that it should be an option. You might try asking the authors of MultiIE (http://www.southwaycorp.net) and PocketPlus (http://www.softspb.com/products/pocketplus/index.html) if they could trap the scroll or button messages and change it to scroll differently.

Steve

Kati Compton
01-12-2003, 04:56 PM
Personally, I don't mind this behavior, but I agree that it should be an option. You might try asking the authors of MultiIE (http://www.southwaycorp.net) and PocketPlus (http://www.softspb.com/products/pocketplus/index.html) if they could trap the scroll or button messages and change it to scroll differently.


Do we know that this is a function of the OS? I mean, the programs themselves may be watching for the up/down signal and *they* may be deciding to move by a whole page.

Pony99CA
01-13-2003, 05:50 AM
Personally, I don't mind this behavior, but I agree that it should be an option. You might try asking the authors of MultiIE (http://www.southwaycorp.net) and PocketPlus (http://www.softspb.com/products/pocketplus/index.html) if they could trap the scroll or button messages and change it to scroll differently.

Do we know that this is a function of the OS? I mean, the programs themselves may be watching for the up/down signal and *they* may be deciding to move by a whole page.
Actually, I'm pretty sure programs do handle them individually, because Inbox handles a d-pad down differently than Pocket IE does. That's why I said a program could trap the message and change it.

I'd think that you could hook the message queue, see what program the message was going to, and, if it was a d-pad message, change it to a scroll message of the appropriate type. But I'm just guessing. :-)

Steve

Kati Compton
01-13-2003, 06:21 AM
Actually, I'm pretty sure programs do handle them individually, because Inbox handles a d-pad down differently than Pocket IE does. That's why I said a program could trap the message and change it.

I'd think that you could hook the message queue, see what program the message was going to, and, if it was a d-pad message, change it to a scroll message of the appropriate type. But I'm just guessing. :-)


I haven't seen a "scroll" message in the bit of fooling around I've done with eVC... But I guess that doesn't mean it isn't there. ;)

Pony99CA
01-13-2003, 06:56 AM
Actually, I'm pretty sure programs do handle them individually, because Inbox handles a d-pad down differently than Pocket IE does. That's why I said a program could trap the message and change it.

I'd think that you could hook the message queue, see what program the message was going to, and, if it was a d-pad message, change it to a scroll message of the appropriate type. But I'm just guessing. :-)


I haven't seen a "scroll" message in the bit of fooling around I've done with eVC... But I guess that doesn't mean it isn't there. ;)
From the eMbedded Visual C++ help:


WM_VSCROLL
This message is sent to a window when a scroll event occurs in the window’s standard vertical scroll bar. This message is also sent to the owner of a vertical scroll bar control when a scroll event occurs in the control.

WM_VSCROLL nScrollCode = (int)LOWORD(wParam); nPos = (short int)HIWORD(wParam); hwndScrollBar = (HWND) lParam;

There's also a WM_HSCROLL message, of course.

Steve

Kati Compton
01-13-2003, 07:11 AM
WM_VSCROLL
This message is sent to a window when a scroll event occurs in the window’s standard vertical scroll bar. This message is also sent to the owner of a vertical scroll bar control when a scroll event occurs in the control.

WM_VSCROLL nScrollCode = (int)LOWORD(wParam); nPos = (short int)HIWORD(wParam); hwndScrollBar = (HWND) lParam;

There's also a WM_HSCROLL message, of course.


Okay - I do remember seeing those now that you mention it. It would be interesting to see if the translation could in fact happen...

It looks like you can send the message to scroll either to a particular scrollbox position (inappropriate for this case), or by a single line. You could have the user specify the # of lines per up/down press, a be nd just send that many lineup/linedown messages per button hit... But this would be a utility that would have to be able to be activated/deactivated easily. Don't want the scroll message in a game when you mean "down"....

I'm also not sure how to intercept and rebroadcast to all executing programs, but that should be possible.

Pony99CA
01-13-2003, 01:16 PM
WM_VSCROLL
This message is sent to a window when a scroll event occurs in the window’s standard vertical scroll bar. This message is also sent to the owner of a vertical scroll bar control when a scroll event occurs in the control.

WM_VSCROLL nScrollCode = (int)LOWORD(wParam); nPos = (short int)HIWORD(wParam); hwndScrollBar = (HWND) lParam;

There's also a WM_HSCROLL message, of course.


Okay - I do remember seeing those now that you mention it. It would be interesting to see if the translation could in fact happen...

It looks like you can send the message to scroll either to a particular scrollbox position (inappropriate for this case), or by a single line. You could have the user specify the # of lines per up/down press, a be nd just send that many lineup/linedown messages per button hit... But this would be a utility that would have to be able to be activated/deactivated easily. Don't want the scroll message in a game when you mean "down"....

I'm also not sure how to intercept and rebroadcast to all executing programs, but that should be possible.
As I said, I don't know if it's possible, but I was thinking that maybe you could hook into the message queue before the messages get dispatched to the appropriate window. You might also be able to register which applications you wanted the utility to work with by using their window class. If that's possible, the user wouldn't need to disable the utility on an application-by-application basis; the utility would pass messages untouched through to unregistered applications.

Steve