Carbon


LLastClick

Header: Lists.h Carbon status: Supported

Determines the coordinates of the last cell clicked in a particular list.

Cell LLastClick (
    ListHandle lHandle
);
lHandle

The list to be checked for the last cell clicked.

function result

The cell coordinates of the last cell clicked. If the user has not clicked a cell since the creation of the list, then both the h and v fields of the cell returned contain negative numbers.0

DISCUSSION

Note that the last cell clicked is not necessarily the last cell selected. The user could Shift-click in one cell and then drag the cursor to select other cells.

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 CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 3/23/2000)