Message Loop...
-
Hi, I have two applications suppose AppA AppB. Application AppA is window class application and AppB is non windowbased application. AppA, I have a message loop which used to get all regular messages. But I want to know how from AppB I will know which message AppA got.?
Birajendu SonicWALL Bangalore India
-
Hi, I have two applications suppose AppA AppB. Application AppA is window class application and AppB is non windowbased application. AppA, I have a message loop which used to get all regular messages. But I want to know how from AppB I will know which message AppA got.?
Birajendu SonicWALL Bangalore India
To clarify, you want AppB to monitor AppA's messages?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
-
To clarify, you want AppB to monitor AppA's messages?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
-
Try http://research.microsoft.com/en-us/projects/detours[^] -Saurabh
-
Why do you need to do such a thing? What exactly are you writing? Can't you just have App A to send only relevant messages to App B instead? :confused:
It is a crappy thing, but it's life -^ Carlo Pallini
-
Why do you need to do such a thing? What exactly are you writing? Can't you just have App A to send only relevant messages to App B instead? :confused:
It is a crappy thing, but it's life -^ Carlo Pallini
My Basic requirement is to monitor system standbay/shutdown message from window .But i need to do that in AppB (which is a non window based application). But application AppA is window based so i am receiving all these StandBy/shutdown messages. So if there is a way to check when system goes shutdown from non-window based appliacations , than my need will be satisfied.
Birajendu SonicWALL Bangalore India
-
My Basic requirement is to monitor system standbay/shutdown message from window .But i need to do that in AppB (which is a non window based application). But application AppA is window based so i am receiving all these StandBy/shutdown messages. So if there is a way to check when system goes shutdown from non-window based appliacations , than my need will be satisfied.
Birajendu SonicWALL Bangalore India
why don't you add a window to your non-window app, so you can get window messages? you could make it invisible, or locate it outside the desktop area. :)
Luc Pattyn
Have a look at my entry for the lean-and-mean competition; please provide comments, feedback, discussion, and don’t forget to vote for it! Thank you.
Local announcement (Antwerp region): Lange Wapper? Neen!
-
Hi, I have two applications suppose AppA AppB. Application AppA is window class application and AppB is non windowbased application. AppA, I have a message loop which used to get all regular messages. But I want to know how from AppB I will know which message AppA got.?
Birajendu SonicWALL Bangalore India
use SetWindowsHookEx Function,it can get the message which passed to the target thread you want to watch