Results 1 to 2 of 2

Thread: MDI Resize problem!!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 1999
    Posts
    4
    We are developping an application in a MDI form environment. The problem that I have is with the display of the forms. Let say that we have 2 forms. The 2 forms are MDIChild. At first, I load (Show) the first form. The WindowState is Maximized for this form. The second form is like a property page (i don't want the user to resize the form...). But the problem is, when I load the second form, the first form is resize (don't stay maximized). One way to resolve this problem, is to set the MDIChild property to false for the second form, but I don't want this. To give you an idea of the dislay that I want, take a look at your VB IDE. It's a MDI environment. If you open the "Components window", you can't resize that form and all your "code window" stay Maximized. Is it still an API that I don't know!!!

    Thanks

    Patrice Merineau

  2. #2
    Fanatic Member RealisticGraphics's Avatar
    Join Date
    Jul 1999
    Location
    Arkansas
    Posts
    655

    Unhappy

    If you are speaking of the correct form, then what you are wanting it to create dockable forms rather than childs. You can still use your MDI form with MDI childs in it however, I'd create your properties page on a non child form and make it dockable. Resize and position the MDI childs according to the position of the property form. If you'll notice in VB6 the only child forms are the forms and modules that you include in your project. All of the control/property/project windows/forms are dockable forms. Try closing them and you'll see what I mean.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width