Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to arrange child windows - as Visual Studio do ?

alex00alex00 Member Posts: 1

Hi

I would like to have a MDI application where windows ara managed as Visual Studio do :
you can move the "Properties" window, fix it with a pin, or automatically slide it on a border.

thanks for any suggestion

Comments

  • athomasathomas Member Posts: 228
    Hi,

    first you need to set the parent windows property isMdiContainer to true. Then, in your menue or other child window trigger function use the following code;

    MyChildForm form = new MyChildForm;
    myChildForm.ShowDialog(); //or Show if you dont want a dialog

    But its necessary that you first set the parent window property isMdiContainer. If you have done that your parent window color will change to dark gray.



    Cheers.
    Alex


    :
    : Hi
    :
    : I would like to have a MDI application where windows ara managed as Visual Studio do :
    : you can move the "Properties" window, fix it with a pin, or automatically slide it on a border.
    :
    : thanks for any suggestion
    :
    :

Sign In or Register to comment.