[citation][nom]pcwlai[/nom]Without this article, we may need to accept slow 2D performance in the new product generation...Well, I would like to address why programmers not trying to minimize the redraw of windows which is actually encouraged by Microsoft as well.Imagine you need to update a rectangle in the center of a window while some other window is overlapping portion of it. If is already not easy and time consuming to compute the lines remains to form the visible portion.If there is some other complex drawings... it is just too time consumign and sometimes impossible to get that uncovered part calculated.So, we programmers rely on the hardware acceleration. Most of the time, it is actually to redraw everything especially when 2D hardware acceleration is present.[/citation]
I think it's lazy programming to simply say, redraw everything, especially when there's a good possibility that only a tiny portion of the screen has changed. I've worked in GIS for years, MapInfo only redrew what was in the minimum bounding rectangle of the object, text, whatever was modified, ArcGIS redraws everything in every layer, one by one. I've had situations which too minutes to redraw the screen because of this, lazy, legacy programming model, don't fix or optimize, just patch and build around your old outdated code.