Important: The information in this document is obsolete and should not be used for new development.
LUpdate
To respond to an update event, use theLUpdate
procedure.
PROCEDURE LUpdate (theRgn: RgnHandle; lHandle: ListHandle);
theRgn
- The visible region of the list's port after a call to the Window Manager's
BeginUpdate
procedure.lHandle
- The list to be updated.
DESCRIPTION
TheLUpdate
procedure redraws all visible cells in the list specified by thelHandle
parameter that intersect the region specified by the parametertheRgn
. It also redraws the scroll bars if they intersect the region.You should bracket calls to
LUpdate
by calls to the Window Manager proceduresBeginUpdate
andEndUpdate
.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 theLUpdate
procedure 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.