Starting a process, controling the window

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to be able to start a process, but then maintain some control
over the window it creates. (Size, position, always on top, etc.)

Can't seem to locate documentation on this one. Can anyone point me
somewhere? Thanks.

(The ultimate goal would be the ability to make an external program behave
as if it was an MDI child in my program.)
 
Zor,

See if this helps...

Dim frmNew as New MyForm

MyForm.TopMost = True
MyForm.Size = New System.Drawing.Size(<width>, <height>)
MyForm.Location = New System.Drawing.Point(<x>, <y>)

MyForm.MDIParent = Me

MyForm.Show()
 
Thanks, but I'm trying to control an external process' window, not a form
that is native to my program.
 
Back
Top