Preprocess Win32 Messages through Windows Forms

Here is how to intercept all windows messages in your forms message queue

Advertisements

3 Responses to Preprocess Win32 Messages through Windows Forms

  1. Babu says:

    Nice Explanation, it would be nice if you can explain more

  2. Tahir Saleem says:

    I saw ur topic….it is very useful for me…but the problem is that its not processing sendMessage() from other application even it self..
    The example u gave its working its processing mouse down.

    When i tried to send a msg from other application or even the same application its not not working.. The handle i am getting is correct and valid because i checked it by changing destination window text.

    Your help is required in this matter.

  3. Alan says:

    Try using PostMessage instead of SendMessage.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: