Important: The information in this document is obsolete and should not be used for new development.
EndUpdate
Use theEndUpdateprocedure to finish updating a window.
PROCEDURE EndUpdate (theWindow: WindowPtr);
- theWindow
- A pointer to the window's window record.
DESCRIPTION
TheEndUpdateprocedure 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 toBeginUpdatemust be balanced by a subsequent call toEndUpdate.SEE ALSO
See Figure 4-21 on page 4-49 for an illustration of howBeginUpdateandEndUpdateaffect the visible region and update region. See Listing 4-10 on page 4-50 for an example that updates a window.