Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Notification Hacks
Last Revision: | Version 1.0, 2003-01-14 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon |
PoliteNotification extension prevents notification dialogs from begin displayed by storing the text in a private buffer, accessable through a buffer located via Gestalt. TrashCanNotifications displayes the most recent notification text in the trash can window. Really in any window named trash. Patched EndUpdate to do this. NotificationMon registers with the PoliteNotification extension when it runs. When a notification is received, it saves the text in a window. Save does not work, but who the heck would want to save the notification text anyway. GestaltTalk contains a protocol for accessing the buffer that contains the notifications. Right now it only saves one thing. I would like to extend it to queue up entries, but did not have the time. This may be useful for other Extensions that need to communicate to an application.
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14