How to send a message to a particular window in one process from another application or from a VxD?
You need to use the API function SendMessage (or PostMessage), but to do so you must first have the handle to the window you want to send the message to.