Hi Vahan,
have a look at the SetWindowHookEx Win32-function.
There you can specify a lot of functions to hook into, ie. messages.
But BEWARE
You ought to consider to put this functionality into a dll and communicate via 
messages with your
program (Hola, mind the recursion!). The reason for this is, that the Program 
can be swapped out and cannot be 
read back (without processing furter messages) by the OS. there is a reasonable 
documentation in the w32-sdk help, I think
you should have at least a look on it.

Have fun
Bob

>     
>         Does anyone know how to intercept windows Messages... I need a way to
>     read all the messages that enter and exit the message queue...
>     
>         Thanks in advance
>         Vahan
>     



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to