1
Reply

Removing "focus" off of an HScrollBar?

rob 0

rob 0

Jul 20 2004 9:57 PM
1.8k
Hi, I am currently developing a map editor using C#. I have an HScrollBar and a VScrollBar on my main form. My problem is that I cannot read OnKeyDown events for Key.Down, Key.Up, Key.Right and Key.Left because whenever I press those keys it manipulates the HScrollBar on my form and therefore the OnKeyDown event is never triggered for the form. How can I make it so keys do not affect the bar? Rob

Answers (1)