PC Review


Reply
Thread Tools Rate Thread

Can Menu be shorter than form title?

 
 
Dave Leach
Guest
Posts: n/a
 
      8th Aug 2003
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 | |
---------------------------------

Thanks,
Dave

 
Reply With Quote
 
 
 
 
Dave Leach
Guest
Posts: n/a
 
      15th Aug 2003
Duke,

Can you provide more information on how to use ContextMenu
and Label controls to simulate a MainMenu control? Is
there an existing sample project to look at?

Thanks,
Dave

>-----Original Message-----
>I'm afraid that you can't do that. If you want to achieve

it, you should
>write your own implementation code (Build a new control).
>
>I build a sample to use ContextMenu and Label control to

simulate a
>MainMenu control, just for your reference.
>
>Best regards,
>
>Duke Sun
>Microsoft Online Partner Support
><MCSE/MCDBA/MCSD>
>
>Get Secure! ¨C www.microsoft.com/security
>This posting is provided "as is" with no warranties and

confers no rights.
 
Reply With Quote
 
Duke Sun
Guest
Posts: n/a
 
      15th Aug 2003
Based on my research and experience, there seems no such sample available.
You should write your implementation code.

Best regards,

Duke Sun
Microsoft Online Partner Support
<MCSE/MCDBA/MCSD>

Get Secure! ¨C www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
menu bar not under title bar kamorse Microsoft Word Document Management 12 18th Dec 2008 05:46 PM
New Title in Calendar Menu/Title Bar =?Utf-8?B?YW1rYXplbg==?= Microsoft Outlook Discussion 2 3rd Oct 2007 09:54 PM
Shaded Form Field - shorter =?Utf-8?B?ZGFua2E=?= Microsoft Word Document Management 1 16th Jun 2006 04:45 PM
How do you control the system menu on a form with no title bar =?Utf-8?B?SmFzb24gUm9kbWFu?= Microsoft Dot NET 6 18th Mar 2005 02:01 PM
Shorter syntax to refeence another form's controls/events? Dean Slindee Microsoft VB .NET 2 28th Nov 2003 06:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:55 PM.