Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
I have an MDI Parent Form and a child form. The MDI Parent calls the child.. no problem so far. The MDI Parent Maximizes the child... we have a problem. I set the child forms properties so that it only has a close button. When maximized within the parent it shows all 3 control buttons (min, max, close). IS there a way of stopping this?
  • *Experts*
Posted

If the child can be maximized at all, it should have a maximize button. Is there a reason you need to remove it? I have my doubts that Windows can handle a maximized form that doesn't have a maximize/restore button.

 

I really don't recommend straying away from the standard windows behavior, anyway.

Posted (edited)

The inital problem is even if the child window has its windows form state set to maximized it dosen't show as maximized when the parent form calls it. In order to get around it I have to set its state from the parent form.

 

Edit:

Actually I'm wrong. The problem is if the child forms windows state is defaulted to maximize it produces a weird bug where the form shows but the control buttons are invisible, but if you click where they SHOULD show up they appear and work. to get around this I have to set the layoutMDI to cascade and then maximize the form.

Edited by Phylum

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...