Scrollbars, These Nasty Entities...

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am creating a new ListView control. Since I'm painting my own items myself,
I don't want to use AutoScroll feature of the UserControl. Instead I tried
using HScroll and VScroll controls. Now, I need to select a listview item
using the keyboard(UP and DOWN arrows) but the scrollbar grabs focus and by
pressing these keys, the scrolbars' value changes. How can I make these
scrollbars stop responding to keyboard?(Before I start writing my own
scrollbars!)
Thanks.
 
well if you focus your own view with Focus() that shoud be allright....
also for this kind of stuff you'll be better subclassing Control (instead of
UserControl)
 
Back
Top