Process.start maximized

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Elkiwi
    New Member
    • Feb 2008
    • 2

    #1

    Process.start maximized

    Hello, I need to start a process maximized (ProcessWindowS tyle.Maximized) but I need too that when it opens, not to overlay forms on front.

    This is because I throw these processes from a .NET container that host them.

    So, I need to open process maximized, but not on front, overlaying my principal form container.

    Is it possible?


    Regards

    Xabi
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    there is a Property of your form called TopMost....make it to True
    Code:
     this.TopMost = true;

    Comment

    • Elkiwi
      New Member
      • Feb 2008
      • 2

      #3
      Hello and thanks by the answer.

      TopMost propertie doesn't work with this. Process is bringed to front too. I have tried too changing to processwindowst yle.hidden. So, the problem is that I cannot get the handle of process.

      The estructure is:

      Form container that has a treeview. When you click a node, new process is loaded and hosted (External EXE) in a form container's child (with set parent). If I start the process minimized (Perfect for not to view process window, I have problems with external exe). Its needed to be maximized.

      Regards

      Xavu

      Comment

      Working...