Thread: WM_COMMAND msgs of other applications controls

  1. #1
    Registered User
    Join Date
    Jul 2004
    Posts
    4

    Question Get WM_COMMAND msgs of other applications controls

    Hi,

    my task is to improve an application that is able to emulate users input to other programs in order to test there functionality. What I want to do is to add capture and replay funktionality for the step of test script design. That means that my application records users input while he works with the other program. Simple global replaying of mouse and keyboard inputs is not what I need but control specific actions.

    Of course I am using windows hooks but there is the problem that I never recieve WM_COMMAND messages sent by controls of the other application with either hook type. I'm afraid that there is no chance to get them because these messages are sent directly from the control to the parent window. But I still hope that I'm wrong though.

    Any idea better than checking at each mouse click with GetChildWindowFromPointEx if a control is hit and if the click changed its state is very welcome!

    Thanks for thinking about!
    Andy
    Last edited by rHm; 07-23-2004 at 12:47 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Get Installed applications list and applications activity
    By arunarora in forum C++ Programming
    Replies: 5
    Last Post: 05-25-2009, 09:41 AM
  2. A question about windows programming
    By Hussain Hani in forum Windows Programming
    Replies: 16
    Last Post: 05-23-2007, 07:38 AM
  3. confused about adding controls to main window
    By terracota in forum Windows Programming
    Replies: 4
    Last Post: 11-24-2004, 12:35 PM
  4. Subclassing controls
    By filler_bunny in forum Windows Programming
    Replies: 3
    Last Post: 04-28-2004, 05:43 PM
  5. I need help disabling Keyboard and Mouse input on Edit controls
    By Templario in forum Windows Programming
    Replies: 4
    Last Post: 01-07-2003, 12:59 AM