Floating toolbars

G

Guest

Hello,
I am relatively new to .NET and was wondering how to create a floating
toolbar (like the ones in MS Office) to use in my applications.
The only one I could find in VS.NET is a standard one that cannot be moved
aroud.

Please help!!
Thanks
 
D

Dmitriy Lapshin [C# / .NET MVP]

Hello,

Two options actually:

a) A third party control library (some, Magic Library, for example, are
shipped with source code).
b) Implement from scratch (a very good exercise in Windows Forms
programming, but I think absolutely not feasible from the commercial point
of view).
 
G

Guest

OK, thanks, are there any books you (or anybody else) would recommend for
component development? I have a rough idea on where to start, but I havent
got a clue how you could put the toolbar onto a form with a "fixedtoolwindow"
border if it gets dragged off the top part of its owner form, or how you
could make it move the other controls out of the way when it docks to the top
of the form (much like the toolbar and menu bars do already)

Dmitriy Lapshin said:
Hello,

Two options actually:

a) A third party control library (some, Magic Library, for example, are
shipped with source code).
b) Implement from scratch (a very good exercise in Windows Forms
programming, but I think absolutely not feasible from the commercial point
of view).

--
Sincerely,
Dmitriy Lapshin [C# / .NET MVP]
Bring the power of unit testing to the VS .NET IDE today!
http://www.x-unity.net/teststudio.aspx

R2D2 said:
Hello,
I am relatively new to .NET and was wondering how to create a floating
toolbar (like the ones in MS Office) to use in my applications.
The only one I could find in VS.NET is a standard one that cannot be moved
aroud.

Please help!!
Thanks
 
E

Elp

OK, thanks, are there any books you (or anybody else) would recommend for
component development? I have a rough idea on where to start, but I havent
got a clue how you could put the toolbar onto a form with a "fixedtoolwindow"
border if it gets dragged off the top part of its owner form, or how you
could make it move the other controls out of the way when it docks to the top
of the form (much like the toolbar and menu bars do already)

Have a look at the source code of this article:
http://codeproject.com/cs/menu/ToolBarDock.asp

It does exactly what you want and judging by the rating of the article, it
should be well done (even though i've never tried it myself)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top