|
-
Mar 5th, 2003, 06:35 PM
#1
Thread Starter
Addicted Member
Message Queue
Is there anyway to peek at the message queue and see all the messages contained therin even if they are not sent to your window? Just an idea because i am trying to figure out what messages are being sent to my windows ect... I thought it would be kinda nice to have a Message Queue Sniffer. Anyways let me know if there is a way to see the messages in the queue.
Thanks In Advance,
Josh Powers
C, C++ and none of that MCF crap either!
-
Mar 6th, 2003, 08:56 AM
#2
Frenzied Member
I think you'd have to subclass all the windows to see the messages in their queue... You have to put the stuff in a DLL in order to let it receive all windows.
I think there's also a hook for it, WH_JournalProc or something like that..
Take a look at MSDN @ SetWindowsHookEx and find out what hooks you can use.
Good luck!
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Mar 7th, 2003, 03:09 PM
#3
WindowProcHook I think it is. Subclassing every window is kinda hopeless as there are more hidden windows than you would think.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|