Important: The information in this document is obsolete and should not be used for new development.
CheckUpdate
The Event Manager uses theCheckUpdate
function to scan the window list for windows that need updating.
FUNCTION CheckUpdate (VAR theEvent: EventRecord): Boolean;
theEvent
- An event record to be filled in if a window needs updating.
DESCRIPTION
TheCheckUpdate
function scans the window list from front to back, checking for a visible window that needs updating (that is, a visible window whose update region is not empty). If it finds one whose window record contains a picture handle, it redraws the window itself and continues through the list. If it finds a window record whose update region is not empty and whose window record does not contain a picture handle, it stores an update event in the parametertheEvent
and returnsTRUE
. If it finds no such window, it returnsFALSE
.The Event Manager is the only software that ordinarily calls
CheckUpdate
.