Carbon


LMSetDoubleTime

Header: LowMem.h Carbon status: Unsupported

Sets the elapsed time (in ticks) between a mouse-up event and a mouse-down event.

void LMSetDoubleTime (
    UInt32 value
);
Parameter descriptions
value

An unsigned 32-bit integer that specifies the suggested maximum elapsed time, in ticks, between a mouse-up event and a mouse-down event. The user can adjust this value using the Mouse control panel.

DISCUSSION

The LMSetDblTime function sets the suggested maximum elapsed time, in ticks, between a mouse-up event and a mouse-down event. The user can adjust this value using the Mouse control panel.

If your application distinguishes a double click of the mouse from a single click, your application should use the value set by LMSetDblTime to make this distinction. If your application uses TextEdit, the TextEdit functions automatically recognize and handle double clicks of text within a TextEdit edit structure by appropriately highlighting or unhighlighting the selection.

The value set by LMSetDblTime is also accessible in the system global variable DoubleTime.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

Setting the double-click time is not supported in Carbon. You can, however, still get this value by calling GetDblTime.


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