I'm posting the second patch that fixes the graphical glitches.
When restoring a background area that was dirtied by visible area indicator, if the area is not in update region on WM_PAINT event, it cannot restore the area.
So this patch forcedly invalidates the area by calling InvalidateRect() on the OnPaint event.
File Added: patch-locationview2.7z
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks good. I hope this approach solves most of our problems with visible area indicator. I like how the patch removes some of my quick and hacky code. :)
Please apply when you have time.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=954028
Originator: YES
File Added: locationview.PNG
Logged In: YES
user_id=631874
Originator: NO
Screenshot looks good. Current visible area indicator has bugs too, so all bugs may not be in your new code..
Logged In: YES
user_id=954028
Originator: YES
I'm posting the second patch that fixes the graphical glitches.
When restoring a background area that was dirtied by visible area indicator, if the area is not in update region on WM_PAINT event, it cannot restore the area.
So this patch forcedly invalidates the area by calling InvalidateRect() on the OnPaint event.
File Added: patch-locationview2.7z
Logged In: YES
user_id=631874
Originator: NO
Looks good. I hope this approach solves most of our problems with visible area indicator. I like how the patch removes some of my quick and hacky code. :)
Please apply when you have time.
Logged In: YES
user_id=954028
Originator: YES
Committed to SVN trunk. Completed: At revision: 4451