edude05
edude05

Reputation: 754

How do I hook another applications events?

I'd like to hook the event that is triggered when an application is trying to notify you of something (when its icon background turns orange and starts flashing) so that I can create my own custom notifications (like getting a text message or email)

For example I'd like to have an event triggered when I receive an instant message on my computer that will send a message to my phone so I can respond appropriately.

How would I go about doing this?

Preferably I'd like something that could hook any notification event (then do the filtering inside the application, and something that works on windows XP and up)

Thanks

Upvotes: 0

Views: 485

Answers (1)

Anders
Anders

Reputation: 101764

Duplicate of How can I determine which taskbar application/windows are requesting user attention ? Anyway, use RegisterShellHookWindow and catch HSHELL_FLASH

Upvotes: 1

Related Questions