Home All Groups Group Topic Archive Search About
Author
13 May 2006 2:19 AM
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.

Author
13 May 2006 7:48 PM
Homer J Simpson
"TyBreaker" <tybreakerNO@SPAMhotmail.com> wrote in message
news:%23NpYaNjdGHA.5116@TK2MSFTNGP02.phx.gbl...
> 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.
Author
14 May 2006 6:07 AM
gene kelley
On Sat, 13 May 2006 19:48:39 GMT, "Homer J Simpson"
<nob***@nowhere.com> wrote:

Show quoteHide quote
>
>"TyBreaker" <tybreakerNO@SPAMhotmail.com> wrote in message
>news:%23NpYaNjdGHA.5116@TK2MSFTNGP02.phx.gbl...
>> 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.
>

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
Author
14 May 2006 6:14 AM
Homer J Simpson
"gene kelley" <o***@by.me> wrote in message
news:2jhd629fdibrcakpvn4lu0ed97feutmjt9@4ax.com...

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

Try it. Run the program after that and try dragging toolbars etc.
Author
14 May 2006 7:17 AM
TyBreaker
Homer J Simpson wrote:
> "gene kelley" <o***@by.me> wrote in message
> news:2jhd629fdibrcakpvn4lu0ed97feutmjt9@4ax.com...
>
>> How do you get a "Floating Menu Bar" from the above?
>
> 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.
Author
14 May 2006 8:45 PM
Homer J Simpson
"TyBreaker" <tybreakerNO@SPAMhotmail.com> wrote in message
news:OXej%23YydGHA.3348@TK2MSFTNGP03.phx.gbl...

> 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.
Author
14 May 2006 7:41 AM
gene kelley
On Sun, 14 May 2006 06:14:47 GMT, "Homer J Simpson"
<nob***@nowhere.com> wrote:

>
>"gene kelley" <o***@by.me> wrote in message
>news:2jhd629fdibrcakpvn4lu0ed97feutmjt9@4ax.com...
>
>> How do you get a "Floating Menu Bar" from the above?
>
>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