-
July 7th, 2009, 04:05 PM
#1
Invalidate Scrollbar
Hi,
I have a tracking tooltip in a CView that has vertical and horz scrollbars.
If the window is small and both scrolls are visible, the tooltip sometimes hovers over the small area of the window where the two scrollbars meet (bottom-right corner).
This little area is then polluted with garbage until the entire window is painted or the scroll bar is used, etc...
I've tried to invalidate the view in OnToolTipNeedText - but that's no good as it's pretty much the same as OnMouseMove, and creates too much flicker. I also use CheckScrollBars to limit the re-drawing, but its still too much.
Any way to only invalidate the scroll bar regions?
Thx.
-
July 8th, 2009, 03:35 AM
#2
Re: Invalidate Scrollbar
Maybe with SetWindowPos(SWP_FRAMECHANGED) instead of InvalidateRect().
-
July 8th, 2009, 12:21 PM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|