Important: The information in this document is obsolete and should not be used for new development.
EndUpdate
Use theEndUpdate
procedure to finish updating a window.
PROCEDURE EndUpdate (theWindow: WindowPtr);
- theWindow
- A pointer to the window's window record.
DESCRIPTION
TheEndUpdate
procedure restores the normal visible region of a window's graphics port. When you receive an update event for a window, you callBeginUpdate
, redraw the update region, and then callEndUpdate
. Each call toBeginUpdate
must be balanced by a subsequent call toEndUpdate
.SEE ALSO
See Figure 4-21 on page 4-49 for an illustration of howBeginUpdate
andEndUpdate
affect the visible region and update region. See Listing 4-10 on page 4-50 for an example that updates a window.