Results 1 to 4 of 4

Thread: [Unresolved] Start External Process As MDI Child Form

  1. #1

    Thread Starter
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551

    [Unresolved] Start External Process As MDI Child Form

    Hey guys,

    I'm making a program to manage an external program that i have not written and do not have access to... Basically, i'll be launching a bunch of instances of it by feeding it certain command line arguments... I'd like to keep these organized within my program, and put them into some sort of tabbed MDI interface... basically i just need to know how to actually put the window of a process i'm starting up into a container in my program... I'm assuming this can be done...

    In vb6, i think you could use the SetParent API to achieve the results i'm after.... Thanks for any help guys!
    Last edited by Redth; Sep 26th, 2003 at 10:33 PM.

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Since you didn't make the other app I think you are still stuck with the SetParent API. The only other thing I could think of was MAYBE getting it via its process but I don't know how you could take the process and make it a child of your app.

  3. #3

    Thread Starter
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551
    yeah that's what i was thinking... since i am the one calling the process to start up and stop, i thought perhaps there was some way of making it start as a child...

    i guess i'll use the setparent api until something better comes along...

  4. #4

    Thread Starter
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551
    *bump*


    I'm using setparent api right now, but there are a few problems with that...

    the main problem is that i can't get the window maximized inside the container i'm moving it to... any ideas?

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