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: Macintosh Toolbox Essentials /
Chapter 2 - Event Manager / Event Manager Reference
Event Manager Routines / Getting Timing Information


GetCaretTime

You can use the GetCaretTime function to get the suggested difference in ticks that should exist between blinks of the caret (usually a vertical bar marking the insertion point) in editable text. The user can adjust this value using the General Controls panel.

FUNCTION GetCaretTime: LongInt;
DESCRIPTION
If your application supports editable text, your application should use the value returned by GetCaretTime to determine how often to blink the caret. If your application uses only TextEdit, you can use TextEdit procedures to automatically blink the caret at the time interval that the user specifies in the General Controls panel.

ASSEMBLY-LANGUAGE NOTE
The value returned by GetCaretTime is also accessible in the system global
variable CaretTime.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996