CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: MDI windows

  1. #1
    Join Date
    Dec 2011
    Posts
    4

    MDI windows

    i am currently making a parent MDI container and 2 child MDI windows. How do i tell the childs to spawn at specific locations inside the parent? thanks

  2. #2
    Join Date
    Jun 2011
    Location
    Buenos Aires, Argentina
    Posts
    130

    Re: MDI windows

    The .Location property of the child is referenced to the parent container. (0,0) is the upper left corner. Just set it after creating the child inside the mdi code, or inside its own load method if it can determine its own location.

    You could also use the .ChildrenLayout property of the container to auto arrange its children.

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

Featured