The Clipboard: 3.6 Using The Clipboard: Unregistering with the Clipboard

Up: GEOS SDK TechDocs | Up | Prev: 3.5 Handling Paste | Next: 3.7 Implementing Undo
ClipboardRemoveFromNotificationList()

Because the Clipboard sends notification out to all registered geodes, geodes must "unregister" when they are shutting down. Otherwise, the Clipboard will attempt to send a message to a defunct object, and this can cause problems for the operating system. Therefore, in your MSG_GEN_PROCESS_CLOSE_APPLICATION handler you should make a call to the routine ClipboardRemoveFromNotificationList() , which removes the passed object from the notification list.


Up: GEOS SDK TechDocs | Up | Prev: 3.5 Handling Paste | Next: 3.7 Implementing Undo