Click to See Complete Forum and Search --> : Child Window Styles


parsh
February 25th, 2003, 02:04 PM
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.

pareshgh
February 25th, 2003, 02:11 PM
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

petru66
February 27th, 2003, 04:59 AM
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

pareshgh
February 27th, 2003, 10:59 AM
yes, that is true.. I just gave suggestions
though. there are some samples.. the one above is nice.. :D sample.
actually in Java they have GridBag layout
they don't have in .NET that's the problem

Paresh

underwar
February 27th, 2003, 10:15 PM
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

pareshgh
February 28th, 2003, 01:33 PM
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