Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi everybody,

 

I'm tryin' to start a process from a selfmade application. This isn't that difficult. But another problem arises, the main window is a mdi container. I want the process (window) to occupy the maximum available space in this main-mdi-container.

 

Anyone??

 

Greetz,

 

D@n.

Intellectuals solve problems, geniuses prevent them!
  • *Gurus*
Posted

Maybe if you expressed it as a question and not a "challenge" people would be more inclined to answer.

 

This is a question that has been asked here before, and the answer is that it is not advisable to start parenting top-level windows within your app. If you really need to, the process class exposes the handle of its main window, and you can use the SetParent api creatively to manipulate it.

MVP, Visual Developer - .NET

 

Now you see why evil will always triumph - because good is dumb.

 

My free .NET Windows Forms Controls and Articles

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...