Intercepting Windows Messages
I have an application that send's messages to any Windows programs using HWND_BROADCAST.
I need to write a VB program that will read those messages (without having the focus). The second application don't need to have any visual interface with the user (like a service).
Any clues on how doing this ?
Thank's
ps.: I already created a VB program, but it can read messages only if my application has the focus.
Found what I was looking for..
Now to learn some graphics... :(
Intercepting windows messages
The messages we use are string messages with RegisterWindowMessage. The problem is when the application doens't have the focus. Sometimes even when the application does have the focus it doens't receive the messages.
Re: Intercepting Windows Messages
Quote:
Originally posted by mictou
I have an application that send's messages to any Windows programs using HWND_BROADCAST.
I need to write a VB program that will read those messages (without having the focus). The second application don't need to have any visual interface with the user (like a service).
Any clues on how doing this ?
Thank's
ps.: I already created a VB program, but it can read messages only if my application has the focus.
Try putting ur app into system tray!