Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-01-14

Build Requirements: N/A

Runtime Requirements: Carbon

View Source Code:

Download Sample (“Notification_Hacks.zip”, 31.4K)
Download Sample (“Notification_Hacks.dmg”, 84.6K)



Description

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.

Document Revision History

Date Notes
2003-01-14First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.