CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    CA
    Posts
    3

    Sending Messages to Other Applications

    I am trying to enhance an application from the outside. To do this, I need to be able to send messages that simulate user actions to the application.

    For example, it is possible to send a WM_LBUTTONDOWN message to another program and have that program behave as though the user had moved the mouse to the specified point and pressed the button?

    Frank Mullin
    Corinium Group

  2. #2
    Join Date
    May 1999
    Posts
    69

    Re: Sending Messages to Other Applications

    Try getting hold of the HWND to the application, and then sending the required message to it. You can get hold of the top level windows (I think) through the EnumWindows API.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured