NDataGridView scrollbar painting issue


Author
Message
Brad Swearingen
Brad Swearingen
Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)
Group: Forum Members
Posts: 53, Visits: 3

I'm using the NDataGridView and have noticed that the horizontal and vertical scrollbars sometimes do not draw themselves using the current skin/scheme.  This is easily reproduced by clicking and dragging the scrollbar thumb to scroll and letting it go.  A subsequent mouse move over the scrollbar will cause it to paint back to the current skin/scheme.  The NListView doesn't have this problem that I can tell.

I added some code to get the grid scrollbars and look for the scroll events on it.  Setting a 250 msec timer during this event on which I invalidate the scrollbar helps but doesn't completely fix all scenarios.

I was wondering if there might be a better way to work around this issue today?


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search