Floating Menu Bar

  • Thread starter Thread starter TyBreaker
  • Start date Start date
T

TyBreaker

What is the best way to create a menu bar like the Office menu bar ie
one that can dock to the four corners of the screen? Is it a standard
windows form or is it some other more specialised control?
--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/

There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.

There's no place like 127.0.0.1.

ASCII a silly question, get a silly ANSI.
 
TyBreaker said:
What is the best way to create a menu bar like the Office menu bar ie one
that can dock to the four corners of the screen? Is it a standard windows
form or is it some other more specialised control?

A manual method.

Start a new project.
Add a ToolStripContainer
Set it to dock to the form (Fill)
Click in the top section.
Add a menu strip
Add a tool strip.
Add another tool strip.
Click in the bottom section.
Add a StatusStrip.
Click in the ToolStripContainer panel.
Add a TreeView.
Set Dock to Left.
Add a Splitter.
Add a Panel.
Set Dock to Fill.
Add a ListView.
Set Dock to Top.
Add a Splitter.
Set Dock to Top.
Add a RichTextBox.
Set Dock to Fill.

File: Export Template to use this as a template for next time! Use "Insert
Standard Items" on the menu strip or tool strip to save some time.

Use whatever parts of this you need. You can also use the template you made
and then delete what you don't need.
 
A manual method.

Start a new project.
Add a ToolStripContainer
Set it to dock to the form (Fill)
Click in the top section.
Add a menu strip
Add a tool strip.
Add another tool strip.
Click in the bottom section.
Add a StatusStrip.
Click in the ToolStripContainer panel.
Add a TreeView.
Set Dock to Left.
Add a Splitter.
Add a Panel.
Set Dock to Fill.
Add a ListView.
Set Dock to Top.
Add a Splitter.
Set Dock to Top.
Add a RichTextBox.
Set Dock to Fill.

File: Export Template to use this as a template for next time! Use "Insert
Standard Items" on the menu strip or tool strip to save some time.

Use whatever parts of this you need. You can also use the template you made
and then delete what you don't need.

How do you get a "Floating Menu Bar" from the above?

http://helpcentral.componentone.com/c1webdemo/index.aspx
http://www.devexpress.com/Products/NET/XtraBars/
http://www.codejock.com/products/commandbars/tour_05.asp

Gene
 
Homer said:
Try it. Run the program after that and try dragging toolbars etc.

Arg, then that sounds like toolbars within an application. I was after
the floating menu bar (I've since learned they're referred to as
AppBars) that runs outside of office that you can use to fire up any
application you wish - sort of like the old fashioned menu programs of
old except done with a modern twist. Anyway, now that I'm searching for
appbars, I'm getting relevant hits on the web.
--
______ ___ __
/_ __/_ __/ _ )_______ ___ _/ /_____ ____
/ / / // / _ / __/ -_) _ `/ '_/ -_) __/
/_/ \_, /____/_/ \__/\_,_/_/\_\\__/_/
/___/

There are 10 types of people in this world; those who understand the
binary numbering system and those who don't.

There's no place like 127.0.0.1.

ASCII a silly question, get a silly ANSI.
 
Try it. Run the program after that and try dragging toolbars etc.
Are you saying that you can drag one of the toolbars from the top to
the middle of the form and have it display there in it's own tool
window?

Gene
 
Arg, then that sounds like toolbars within an application. I was after
the floating menu bar (I've since learned they're referred to as AppBars)
that runs outside of office that you can use to fire up any application
you wish - sort of like the old fashioned menu programs of old except done
with a modern twist. Anyway, now that I'm searching for appbars, I'm
getting relevant hits on the web.

That's really a separate application to me - like the old Office Toolbar
that sat on the desktop.
 
Back
Top