EVALUATION
As stated in a related CR, there are too many background paint calls being made in the code. Look in the "WorkAround" section.
###@###.### 2005-05-19 22:19:45 GMT
In the "AxControl.cpp" file, there is a branch in the code which handles window resizing. This branch makes a call to the Windows API "SetWindowRgn". However, this call is made even when an overlapping IE embedded iframe is scrolled on top of an applet. As a result, the applet is unnecessarily being repainted during the scrolling. The fix is to replace the "SetWindowRgn" call with "GetUpdateRgn" call. This call only updates the dirty regions. In the case of iframe scrolling, there are no dirty regions so no repaint happens. This also maintains the original intent of the code branch, window resizing. When the window is resized, this API also takes care of repainting the dirty regions.
###@###.### 2005-07-18 18:35:06 GMT
|