I am having a problem with one of my scrollbars always being moved when I press one of the arrow keys. If I press one of the arrow keys the part of the scrollbar that can be moved gets highlighted and there is nothing I can do to un-highlight it again (tried pressing other controls, other keys or moving it). Even if the scrollbar does not have the focus (all other keypresses gets taken by an event in the main window, but somehow arrows keys are ignored there and passed onto the scrollbar) it does still move.

Is there any special flags or attributes that I can set to make sure that the scrollbar never resives any key events? The project is made in C# using the visual studio designer to do the UI.