Jump To:
Leopard Reference Library: Carbon
Events are high-level messages sent to applications by the operating system. For example, when the user clicks the mouse, types a character, or chooses a menu command, Mac OS X notifies the appropriate application by means of an event; when a window needs to be redrawn, moved, or resized, the application receives an event telling it to perform the operation; when a program becomes the active (foreground) application or moves to the background in favor of another, the program receives an event informing it of the fact. When an application receives an event, the application's task is to respond appropriately.

Document Descriptions
On Off

Sort by
Sort by
Resource Type
Sorted by
Programmatically causing restart, shutdown and/or logout (HTML) (日本語 HTML)
QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.
Technical Q&As 2008-09-24
CarbonCocoaTempConverter (HTML) (DMG) (ZIP)
Demonstrates how to integrate Carbon and Cocoa user interfaces in the same Cocoa application.
Sample Code 2008-03-10
Apple Events Programming Guide (HTML) (PDF)
Provides conceptual information and programming examples for working with Apple events.
Guides 2007-10-31
Carbon Event Manager Reference (HTML) (PDF)
Describes the C API for handling events in Carbon applications.
Reference 2007-10-31
Event Manager Reference (HTML) (PDF)
Deprecated - Describes the event-handling system created originally for Classic Mac OS and superseded by the Carbon Event Manager.
Reference 2007-10-31
Quartz Event Services Reference (HTML) (PDF)
Describes the C API for event taps, filters used to observe and alter the stream of low-level user input events.
Reference 2007-10-31
Apple Event Manager Reference (HTML) (PDF)
Describes the C API for interapplication communication using Apple events.
Reference 2007-07-13
Using Secure Event Input Fairly (HTML)
TN2150: Describes the proper use of EnableSecureEventInput.
Technical Notes 2007-06-08
CrossEvents (HTML) (DMG) (ZIP)
Demonstrates how to send CarbonEvents and NSNotifications between Carbon and Cocoa.
Sample Code 2007-05-31
SetMouseAcclSample (HTML) (DMG) (ZIP)
Find HID System Manager and get/set cursor acceleration
Sample Code 2006-11-28
Watcher (HTML) (DMG) (ZIP)
Uses FSEvents to monitor a directory hierarchy to keep track of its total size
Sample Code 2006-08-04
Ink Services Reference (HTML) (PDF)
Defines the C API for customizing handwriting recognition.
Reference 2006-01-10
How can I handle smooth mouse wheel scrolling? (HTML)
QA1453: Details an undocumented Carbon Event which will be added to the public headers in a later DevTools release.
Technical Q&As 2005-11-29
EventMonitorTest (HTML) (DMG) (ZIP)
Receive notification of all keyboard, mouse, and tablet events passed to other processes.
Sample Code 2005-11-09
Text Services Manager Reference (HTML) (PDF)
Describes the C API for communicating between client applications and provider modules.
Reference 2005-11-09
Carbon Event Manager Programming Guide (HTML) (PDF)
Essential information for implementing Carbon events.
Guides 2005-07-07
Supporting Unicode Input (HTML) (PDF)
Introduces international text in Mac OS X and lists the tasks an application needs to perform.
Guides 2005-07-07
Frequently Asked Text Services Manager (TSM) Questions (HTML)
TN2128: Regroups a collection of Text Services Manager (TSM) questions frequently asked by Input Method Developers
Technical Notes 2005-06-24
SetFontInfoForSelection incorrect prototype (HTML)
QA1375: Describes the incorrect prototyping of the SetFontInfoForSelection API and gives a workaround.
Technical Q&As 2004-10-04
Carbon Pasteboards: Enhanced Data Sharing (HTML)
Learn how to add Clipboard support to your application, including copy and paste and drag and drop.
Articles 2004-08-16
MoreIsBetter (HTML) (DMG) (ZIP)
Library providing indispensable wrapers and workarounds for many areas of Mac OS programming.
Sample Code 2003-10-27
Using Ink Services in Your Application (HTML) (PDF)
Explains how Ink Services works and how to customize handwriting recognition.
Guides 2003-07-24
Program sample demonstrates how to send and receive raw LLC Ethernet packets.
Sample Code 2003-06-12
CarbonInCocoa (HTML) (DMG) (ZIP)
How to use Carbon GUI code in a Cocoa application.
Sample Code 2003-03-26
Speech Recognition Manager Reference (HTML) (PDF)
Describes the C interface for recognizing and accepting spoken input.
Reference 2003-02-01
LocalServer (HTML) (DMG) (ZIP)
Deprecated - Sample demonstrates how a Classic process can communicate with a Mac OS X process using IP networking protocols.
Sample Code 2003-01-30
DragAndDrop Shell (HTML) (DMG) (ZIP)
A Drag and Drop shell for producing QuickTime drag and drop tools.
Sample Code 2003-01-14
FinderDragPro (HTML) (DMG) (ZIP)
Sample file illustrating drag and drop techniques for use with file system objects.
Sample Code 2003-01-14
Understanding Text Input and the Text Services Manager in Carbon (HTML) (PDF)
Discusses keyboard input, including Unicode, and explains how events are routed and handled.
Guides 2002-12-11
Notification Manager Reference (HTML) (PDF)
Describes the C API used by background applications to communicate information to the user.
Reference 2002-12-01
Keyboard Layout Services Reference (HTML) (PDF)
Describes the C API for managing key-to-character mappings used to support various languages.
Reference 2002-11-18
Process Carbon Events Not Delivered in 10.2 (HTML) (日本語 HTML)
QA1181: Work around for a bug in Mac OS X 10.2 that prevents the delivery of process Carbon events.
Technical Q&As 2002-08-27
Power Management; Policy Maker vs. Power Controller (HTML) (日本語 HTML)
QA1121: Describes the differences between a Power Management Policy Maker and a Power Management Power Controller.
Technical Q&As 2002-02-13
WaitMouseUp documentation errata (HTML)
QA1008: Specifies the correct behavior of the WaitMouseUp function.
Technical Q&As 2001-02-27
QDFlushPortBuffer (HTML) (日本語 HTML)
QD65: Describes a possible solution for window update problems under Carbon.
Technical Q&As 2000-11-08
OTScheduleDeferredTask When Task Running (HTML) (日本語 HTML)
NW52: Describes what happens when you use OTScheduleDefferedTask to schedule a task that is running.
Technical Q&As 1997-10-13