D
Dave Leach
I am creating an MDI style .NET Windows Form application.
The main window will contain a menu bar, a status bar and
a panel control.
I want the panel control docked on the right edge of the
main MDI window and extend from the bottom edge of the
window to the bottom of the title bar. I want the
status bar docked on the bottom of the main window and
extend from the left edge of the main window to the left
edge of the panel control. I want the menu bar to dock
under the title and extend from the left edge of the main
window to the left edge of the panel control. See the
diagram below.
I have been able to get the status bar to dock as described
above, but I can't get the menu bar to stop at the left
edge of the panel control. It always extends the full
length of the window title and forces the panel control to
dock under the menu instead of under the title.
Is there a way to get the menu to dock as I want (see
below)?
---------------------------------
| Title |
|-------------------------------|
| Menu | P |
|--------------------------| a |
| | n |
| | e |
| | l |
| | |
|--------------------------| |
| Status | |
The main window will contain a menu bar, a status bar and
a panel control.
I want the panel control docked on the right edge of the
main MDI window and extend from the bottom edge of the
window to the bottom of the title bar. I want the
status bar docked on the bottom of the main window and
extend from the left edge of the main window to the left
edge of the panel control. I want the menu bar to dock
under the title and extend from the left edge of the main
window to the left edge of the panel control. See the
diagram below.
I have been able to get the status bar to dock as described
above, but I can't get the menu bar to stop at the left
edge of the panel control. It always extends the full
length of the window title and forces the panel control to
dock under the menu instead of under the title.
Is there a way to get the menu to dock as I want (see
below)?
---------------------------------
| Title |
|-------------------------------|
| Menu | P |
|--------------------------| a |
| | n |
| | e |
| | l |
| | |
|--------------------------| |
| Status | |