CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 1999
    Location
    INDIA
    Posts
    93

    Child Window Styles

    Hi,
    I am fairly new to C#. I wanted to create an application whose GUI is simillar to the visual studio. I belive i need to have MDI container and child windows. But i couldnot figure out how the look and feel of the child windows be made simillar to that of the Visual Studio (solution explorer for example).
    Same holds good for the tool bars. The look and feel of the tool bars is different from the ones i was able to create. (The Visual studio has flat tool bar buttons which get highlighted when selected)
    All help is greatly appreciated.
    Thank you.

  2. #2
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    1) yes, you will need the basic start-up
    MDI program
    2) make use of control's Dock and anchor property
    3) make use of UI feel. like borderstyle, flat etc..
    4) make use of proper splitters will help in this case

    -Paresh

  3. #3
    Join Date
    Jul 2002
    Location
    EU
    Posts
    68

    docking child windows

    In my experience, only Dock and Anchor properties are not sufficient to get the behavior of child windows like in Visual Studio .Net.

    For a more inteligent docking, have a look at the article here:
    http://www.codeproject.com/cs/miscctrl/MagicDocking.asp

    Hope this helps.

    Petru

  4. #4
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    yes, that is true.. I just gave suggestions
    though. there are some samples.. the one above is nice.. sample.
    actually in Java they have GridBag layout
    they don't have in .NET that's the problem

    Paresh

  5. #5
    Join Date
    Feb 2003
    Location
    Israel
    Posts
    102

    solution to this prob

    I found open-source project which offers controls that give Visual.Net look.
    Can be found on http://www.dotnetmagic.com.

    I'm using it in my project. its cool

  6. #6
    Join Date
    Nov 2002
    Location
    Singapore
    Posts
    1,890
    hi
    MagicDocking example shows and concentrates on docking.

    what actually required is some type of layouts structure where in you can define sizing and resizing also.

    I mean here ,
    that when you resize your form the controls move accordingly and gets resized in terms of fonts width etc..

    but unfortunately the only prime concern in this example is,
    " it really concentrates on Docking etc"

    Paresh

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