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.
--
Tim Wilson
..NET Compact Framework MVP
[quoted text, click to view] "vulcanite" <vulcanite@newsgroups.nospam> wrote in message
news:06A60D92-CBEA-4CEF-9C1F-3A97FFE684DB@microsoft.com...
> 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.