Floating toolbars

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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).
 
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
 
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)
 
Back
Top