1
Answer

Removing "focus" off of an HScrollBar?

rob 0

rob 0

20y
1.8k
1
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)