Thread: Interactin With other windows

  1. #1
    Registered User mrafcho001's Avatar
    Join Date
    Jan 2005
    Posts
    483

    Interactin With other windows

    I've never really tried anything like this before and don't know where to start.

    I want to make a program that can interact with another program/window. I was thinking of simply just passing some messages like WM_LBUTTONDOWN or changing the title or something simple like that.

    Is there an API function that just returns a handle to the window you want to interact with or something?

    After I have a handle to the window is should be fairly simple to pass messages, yes?
    My Website
    010000110010101100101011
    Add Color To Your Code!

  2. #2
    Registered User
    Join Date
    Mar 2005
    Location
    Mountaintop, Pa
    Posts
    1,058
    Is there an API function that just returns a handle to the window you want to interact with or something?
    Yes, SendMessage with WM_COPYDATA

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    FindWindow()
    EnumWindow()

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:16 PM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM