Click to See Complete Forum and Search --> : Dealy at the beginning of the key press
Odimus
February 5th, 2000, 01:19 PM
I'm making a program that uses scroll. The mouse is not a problem, but I don't know how to eliminate the typical delay in the scroll when maintaining the arrow keys pressed. When you press an arrow key, the picture moves a few, stops for half of a second and then goes on with the movement. I don't know hot to make a continous movement since the beginning. And I don't know how to make a diagonal scroll with the arrow keys. If you press down and then left, the picture goes left but not down.
Can anyone help me, please ?
Weasel
February 9th, 2000, 09:49 AM
The mouse is not a problem, but I don't know how to eliminate the typical delay in the scroll when maintaining the arrow keys pressed.
Good luck, this is a UI "feature" of Windows to be like holding a key on the keyboard. You'll have to make your own scrolling function and fake scroll bar most liekly to fix this. As far as the down and left, it should do both.
Weasel
February 9th, 2000, 09:51 AM
Wait, what's happening probably on the keys is you are *holding* the down and left at once, not pushing them in turn. Right? In Windows the last key hit will take precedence I believe, use 3 on the numeric keypad to fake it.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.