I have a 3rd party application that make changes to a 3rd party component that my application interacts with. This component cannot send me any information, but can be changed by my application as well.
I'd like to know when a user presses a button or a command in the context menu that can change the state of the component.
Can I hook to the windows message the 3rd application listens to and know which button was pressed? If so - how? and if not - is there another way to do it?