Important: The information in this document is obsolete and should not be used for new development.
LUpdate
To respond to an update event, use theLUpdateprocedure.
PROCEDURE LUpdate (theRgn: RgnHandle; lHandle: ListHandle);
theRgn- The visible region of the list's port after a call to the Window Manager's
BeginUpdateprocedure.lHandle- The list to be updated.
DESCRIPTION
TheLUpdateprocedure redraws all visible cells in the list specified by thelHandleparameter that intersect the region specified by the parametertheRgn. It also redraws the scroll bars if they intersect the region.You should bracket calls to
LUpdateby calls to the Window Manager proceduresBeginUpdateandEndUpdate.SPECIAL CONSIDERATIONS
You should not call the LUpdate procedure from within an interrupt, such as in a completion routine or VBL task.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for theLUpdateprocedure are
Trap macro Selector _Pack0 $0064 SEE ALSO
For information on responding to update events in lists, see "Responding to Events Affecting a List" beginning on page 4-23. For general information on events, see the chapter "Event Manager" in Inside Macintosh: Macintosh Toolbox Essentials.