Important: The information in this document is obsolete and should not be used for new development.
InvalRect
Use theInvalRectprocedure to add a rectangle to a window's update region.
PROCEDURE InvalRect (badRect: Rect);
- badRect
- A rectangle, in local coordinates, that is to be added to a window's
update region.DESCRIPTION
TheInvalRectprocedure adds a specified rectangle to the update region of the window whose graphics port is the current port. Specify the rectangle in local coordinates. The Window Manager clips it, if necessary, to fit in the window's
content region.Both your application and the Window Manager use the
InvalRectprocedure.
When the user enlarges a window, for example, the Window Manager usesInvalRectto add the newly created content region to the update region. Your application usesInvalRectto add the two rectangles formerly occupied by the scroll bars in the smaller content area.