-
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
-
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!
-
WindowProcHook I think it is. Subclassing every window is kinda hopeless as there are more hidden windows than you would think.