If possible, I wanna get the handle for my console window and catch all of the messages going to my window...can I do that?
Printable View
If possible, I wanna get the handle for my console window and catch all of the messages going to my window...can I do that?
Install a message hook for your process. (Does not need to be in a dll)
how do i do that?
Heres an article on MSDN that i used when i played with them:
http://msdn.microsoft.com/library/de...dn_hooks32.asp
Parksie wrote this as well which might be useful, just install keyboard and mouse hooks, but i'm sure you'll get the idea!
http://www.vbforums.com/showthread.p...hreadid=103058
heres the link to the one parksie did for me:
http://www.vbforums.com/attachment.php?s=&postid=453377