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

You can get the current number of ticks since the system last started up using the TickCount function. You can use this function to compare the number of ticks that have expired since a given event or other action occurred.

By using the GetDblTime function, you can get the suggested maximum difference in ticks that should exist to consider two mouse events a double click. The user can adjust this value using the Mouse control panel. Using the GetCaretTime function you can get the suggested maximum difference in ticks that should exist between blinks of the caret in editable text. The user can adjust this value using the General Controls panel.


Subtopics
TickCount
GetDblTime
GetCaretTime

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996