Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Macintosh Toolbox Essentials /
Chapter 4 - Window Manager / Window Manager Reference
Window Manager Routines / Maintaining the Update Region


InvalRgn

Use the InvalRgn procedure to add a region to a window's update region.

PROCEDURE InvalRgn (badRgn: RgnHandle);
badRgn
The region, in local coordinates, that is to be added to a window's
update region.
DESCRIPTION
The InvalRgn procedure adds a specified region to the update region of the window whose graphics port is the current port. Specify the region in local coordinates. The Window Manager clips it, if necessary, to fit in the window's content region.

SEE ALSO
See Listing 4-13 on page 4-58 for an example that uses InvalRgn to add part of the window's content region to the update region.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996