Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / March 2006

Tip: Looking for answers? Try searching our database.

Mimic Sliding windiws in Visual Studio

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vulcanite - 27 Mar 2006 17:46 GMT
Does anyone know how to implement the 'solution explorer' and 'properties'
sliding panels you get in VS2005.

One way seems to be to put buttons on a panel for the 'autohide' bar and set
the image propety to vertically oriented text (e.g. created in Paint).  The
animation could be acheived by continously/quickly changing the width
property of another panel containing the controls you wish to 'slide out'

There must be a better way?

What's more, I would like to do this in the confines of an SDI application
(so the slide outs will need to be controls and not forms)

All help much appreciated.
Tim Wilson - 27 Mar 2006 18:28 GMT
There are commercial products that do this. Here are a few...
http://www.divil.co.uk/net/controls/sanddock/
http://www.dotnetmagic.com

There are also some freebies as well...
http://sourceforge.net/projects/dockpanelsuite/

You may also want to search through the CodeProject
(http://www.codeproject.com/) to see what you can find.

Signature

Tim Wilson
.NET Compact Framework MVP

> Does anyone know how to implement the 'solution explorer' and 'properties'
> sliding panels you get in VS2005.
[quoted text clipped - 10 lines]
>
> All help much appreciated.
vulcanite - 27 Mar 2006 18:46 GMT
Tim,

I appreciate you taking the time to respond.

My question was really how to do this in VS using the controls available (I
gave an
example of using panels and buttons) - also, it's not so much the docking
and moving around I am after - rather a fixed tab strip is fine as long as I
can click a tab (or button that looks like a tab!) with text oriented 90
degrees, and have a control slide out from the tab strip.

Sorry if my original question was unclear.
Tim Wilson - 27 Mar 2006 19:21 GMT
You could probably get some good hints from the Dock Panel Suite source
code:
http://sourceforge.net/projects/dockpanelsuite/

You should be able to play with the TabControl and ownerdraw to get the tabs
to look the way you want.
http://blogs.msdn.com/winformsue/archive/2006/03/14/551564.aspx

In addition, if you're targeting .NET Fx 2.0 then you can use the ToolStrip
control instead of the TabControl. The ToolStrip control is a very
customizable control.
http://blogs.msdn.com/winformsue/archive/2006/03/21/557054.aspx

Using either the TabControl or the ToolStrip control may allow you to not
have to deal with individual Buttons.

The approach that you indicated in your original post sounds good. One thing
that I would add, in addition to what I've added above, is that if you use
the width of the Panel, starting at a width of zero, to show this Panel to
the user then it may have the appearance or "rolling out". If you want to
have the Panel appear to "slide out" then you can set the location of the
Panel to something negative (off the screen) and then change the location
until it is completely shown.

Signature

Tim Wilson
.NET Compact Framework MVP

> Tim,
>
[quoted text clipped - 8 lines]
>
> Sorry if my original question was unclear.
vulcanite - 27 Mar 2006 19:45 GMT
Tim,

Thanks - I'll try those out.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.