Thread: Controlling windows not created by the C++ program

  1. #1
    Registered User
    Join Date
    Apr 2003
    Posts
    2

    Question Controlling windows not created by the C++ program

    I know it is possible to control windows not opened by the C++ program. I've used a third party program (Macromedia Director) that was able to open, close, minimize, resize, and re-locate any window on the system via C++

    Now I need to whittle away the third party program and go straight C (C++).

    Does anyone know how to get the Window's ID numbers and the commands to controll them.

    I haven't programmed in C for YEARS. I'm a little rusty.

    Any and all help will be appreciated.

    (Also, we're trying to pull info from the serial port. If anyone knows code for that, it would be great to know too.)

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Serial Communications in Win32

    System message hook sample code

    For someone who doesn't know Win32 programming, you've picked some hard topics to start learning with.

    gg

  3. #3
    Registered User
    Join Date
    Apr 2003
    Posts
    2

    Yah, I know

    As is usual, I didn't choose them, someone chose them for me.

    Thanks for the quick reply.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Client-server system with input from separate program
    By robot-ic in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-16-2009, 03:30 PM
  2. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  3. Replies: 6
    Last Post: 01-01-2007, 07:36 AM
  4. Replies: 2
    Last Post: 12-22-2006, 08:45 PM
  5. Controlling an unknown program
    By bigdan43 in forum C++ Programming
    Replies: 3
    Last Post: 02-08-2005, 02:45 PM