BUG: PaintEvent.clipRect Does Not Return Clip Area Width/HeightID: Q220592
|
When you use the Windows Foundation Classes for Java PaintEvent class, the member variable called clipRect erroneously returns the lower-right corner of the clip area instead of the width and height of the clip area in its member variables "width" and "height".
Make sure that any code that uses clipRect also uses the member variables named "width" and "height" as if they were named "right" and "bottom", respectively.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.
{x=202,y=153,width=300,height=275}
If the entire client area of the same form is repainted, you should see the following:
{x=0,y=0,width=300,height=275}
© Microsoft Corporation 1999, All Rights Reserved.
Contributions by Joseph B. Hall, Microsoft Corporation
Additional query words: PaintEvent clipRect width height right bottom
Keywords : kbSDKJava kbVJ600bug kbWFC kbGrpJava
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: March 18, 1999