Carbon


LUpdate

Header: Lists.h Carbon status: Supported

Responds to an update event.

void LUpdate (
     theRgn, 
    ListHandle lHandle
);
Parameter descriptions
theRgn

The visible region of the list’s port after a call to the Window Manager’s BeginUpdate function.

lHandle

The list to be updated.

DISCUSSION

This function 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 functions BeginUpdate and EndUpdate.

SPECIAL CONSIDERATIONS

This function is contained in a resource of resource type 'PACK'. Calling it could result in the loading of the package resource and the allocation of memory. Thus, your application should not call this function from within an interrupt, such as in a completion function or VBL task.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)