Thanks so much for the reply.
There's always a story behind these requests. :-) We have an app that does inter-process communication with other apps in Windows by overriding MSWWindowProc() and peeking for a custom / specific windows message string registered through RegisterWindowMessage() (and sent through ::SendMessage()). For our use case, the messages are used to synchronize scrolling between apps that are displaying the same text.
For the Mac, a couple of the apps we're communicating with are using the NSDistributedNotificationCenter class to send/receive these messages. It looks like it's a different paradigm than what we did on Windows -- using the observer pattern from what I can tell, rather than doing HWND_BROADCAST messages to any window that might possibly want to know about the notification.
I suppose an API that worked under Windows could take the SendMessage() stuff and wrap it in an observer pattern as well -- the SendMessage() call does allow for specific window handles to be used, so the Subject class could send to all Observers in its list (I guess discarding HWNDs that are no longer viable from its list as it goes). You'd have to add a note in the docs to be aware of UIPI restrictions (i.e., that the message won't get through to observer processes with the wrong privs).
-e