Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: More Macintosh Toolbox /
Chapter 4 - List Manager / List Manager Reference
List Manager Routines / Responding to Events Affecting Lists


LUpdate

To respond to an update event, use the LUpdate 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
The LUpdate procedure redraws all visible cells in the list specified by the lHandle parameter that intersect the region specified by the parameter theRgn. It also redraws the scroll bars if they intersect the region.

You should bracket calls to LUpdate by calls to the Window Manager procedures BeginUpdate and EndUpdate.

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 the LUpdate procedure are
Trap macroSelector
_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.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996