Getting a component handle from an external program?

This is a discussion on Getting a component handle from an external program? within the Windows Programming forums, part of the Platform Specific Boards category; A tricky topic, methinks. There's another program running aside from my own that I need to get the handle of ...

  1. #1
    public static void Main() HopeDagger's Avatar
    Join Date
    Oct 2004
    Posts
    7

    Getting a component handle from an external program?

    A tricky topic, methinks. There's another program running aside from my own that I need to get the handle of a specific component on it. I don't have access to that program aside from while it's runnning. I have no idea how to do this. :/

    Is there a way to get a list of handles, or something? Or request a certain handle through win32? Grah, I'm stumped.

    Thanks very much!

  2. #2
    Registered User Rare177's Avatar
    Join Date
    May 2004
    Posts
    214
    the way i would do this is to use FindWindow to find the main window your looking for then use EnumChildWindows for that parent window

    EnumChildWindows
    FindWindow

    good luck.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Read from txt and write in an external program
    By sombrancelha in forum C Programming
    Replies: 8
    Last Post: 06-01-2009, 09:04 PM
  2. Program Plan
    By Programmer_P in forum C++ Programming
    Replies: 0
    Last Post: 05-11-2009, 01:42 AM
  3. calling an external program + capture output?
    By cyberfish in forum C++ Programming
    Replies: 4
    Last Post: 03-21-2008, 12:49 AM
  4. Getting other processes class names
    By Hawkin in forum Windows Programming
    Replies: 3
    Last Post: 03-20-2008, 04:02 PM
  5. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 10:17 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21