CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2000
    Posts
    1

    Dealy at the beginning of the key press

    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 ?


  2. #2
    Join Date
    Feb 2000
    Location
    South Carolina, US
    Posts
    36

    Re: Dealy at the beginning of the key press

    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.


  3. #3
    Join Date
    Feb 2000
    Location
    South Carolina, US
    Posts
    36

    Re: Dealy at the beginning of the key press

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured