SendMessage. 
Author Message
 SendMessage.

Is there a way of setting up my exe application to accept
a SendMessage api call from another application?

If so, does anyone have some links to some good examples?

Jamie.



Sun, 20 Feb 2005 01:57:37 GMT  
 SendMessage.
Search for AddMessageFilter in the docs, they'll point you to what you want.

--
Robert Jeppesen
MindCom AB
http://www.mindcom.se/

Quote:

> Is there a way of setting up my exe application to accept
> a SendMessage api call from another application?

> If so, does anyone have some links to some good examples?

> Jamie.



Sun, 20 Feb 2005 02:09:26 GMT  
 SendMessage.
Jamie, you can override WndProc in a windows form application.  You will
then have access to all windows messages which are sent to your app.  It'll
look something like this:

protected override void WndProc(ref Message message)
     {
          if (message.Msg == MY_MESSAGE)
               DoMyThing();

          base.WndProc(ref message);
     }

--
Greg
http://www.claritycon.com/


Quote:
> Is there a way of setting up my exe application to accept
> a SendMessage api call from another application?

> If so, does anyone have some links to some good examples?

> Jamie.



Sun, 20 Feb 2005 02:23:14 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. C++ SendMessage equivalent in C# ???

2. Trapping SendMessage via interop services

3. SendMessage with C#

4. How to send string with SendMessage?

5. HELP: SendMessage and CB_GETLBTEXT in C#

6. Newbie: pls help with SendMessage

7. Question: using SendMessage via DllImport

8. SendMessage or Alternative for IPC?

9. SendMessage program in Novell Network

10. SendMessage for PopUP Help

11. Sendmessage HELP !!

12. How to pass a float as LPARAM in SendMessage()

 

 
Powered by phpBB® Forum Software