473,597 Members | 2,341 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

MenuStrip shifts down in MDI-application ???

Hi,

I have an MDI-application running with 1 MDI chilld showing in
'Normal'-WindowState, so NOT maximized.
What I see is the MDI-main window showing its title bar, below that the
menustrip with merged-menuitems and the MDI-child window 'floating'
within the MDI-container just showing an icon + title in its title bar.
So far so good.

But when I maximize the MDI-child window ... what i see then is the
MDI-main window showing its title bar (like before), below that just a
bar with ONLY an icon (nothing else) and below that the menustrip with
merged-menuitems with the icon removed ???

So the menustrip seems to have 'shifted down' by 1 line ??

How can I keep the menustrip from moving down ?

thank you
Chris


*** Sent via Developersdex http://www.developersdex.com ***
Jan 14 '07 #1
0 1649

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1450
by: Javier Alpizar | last post by:
Hi, I'm setting the Allowmerge property of both the parent and child menustrip but it doesn't work. I get two different menus instead of merged one when I open a child window. Am I missing something? Thank you.
4
21663
by: John J. Hughes II | last post by:
Could someone explain how to merge the form menu with the mdi container window. The menu strip items on the form window merge but I either end up with a blank blue menu on the form or top list of items that don't do anything. MDI Container.IsMdiContainer = true MenuStrip.AllowMerge = true /// First menu items this.miFile.MergeAction = System.Windows.Forms.MergeAction.Insert;
0
1840
by: rellik | last post by:
Hi All, I've run into a problem with the MenuStrip control and any help would be greatly appreciated! The problem I've got is that when use a control derived from the MenuStrip class all MDI merge functionality breaks - each MDI child window is given it's own menu rather than the mdi parent. To repeat the problem just create a very simple dummy app that has standard
0
832
by: vul | last post by:
In VB6 menu of child form replaces MDI menu How to reproduce this behavior with MenuStrip control in VB 2005. I found a lot of samples via Google. Some of them just do not work at all, some of them work different way than it was in VB6. I'm asking for a working sample, not for a link, because as I said I checked a lot of them already and no one is working. Either child menu items are added to the MDI menu (not replace them), or they do not...
1
1977
by: genojoe | last post by:
I am converting from MainMenu to MenuStrip And I want to list the hierarchy of a clicked menu item. With the MainMenu, it was easy to do using the parent property of the MenuItem. With the ToolStripMenuItem, it no longer works. To better understand my need, please create a VS form and add a MenuStrip, button and two labels to it with the default names then add the code shown below to the form. What I need is code in the menuClick...
1
4037
by: Schwammkopf | last post by:
Hi ! I'm using Visual Studio 2005 Professional Edition and C#. I have a simple question: I want to add to my form, which is a scrollable control, a menustrip and statusstrip. The problem is that the menustrip is not fixed at top if i scroll down. A similar problem exists also for the statusstrip. If i open the program it is only visible if i scroll down.
0
3200
by: =?Utf-8?B?Sm9obiBG?= | last post by:
Hello all, Is there anyway to stop a child form's minimize,maximize,close and system menu from automatically merging with the MDI parent's menustrip when you click the maximize button on the child? I'm able to catch the WM_GETMINMAXINFO message in WndProc and I can adjust the MinTrackSize, MaxTrackSize. I just can't for the life of me stop it from merging into the parent.
3
6569
by: ssknov | last post by:
hi i am creating a login page.Inthe form load itself i need to hide the MenuStrip in MDI Parent to HIDE, When the users gives the correct passwd and pushes the Loginbutton , My MDIParent1 forms menustrip should be visible . c my code . but it doesnt works. Any body pls clear my doubt. private void LoginForm_Load(object sender, EventArgs e) {
1
1945
by: win | last post by:
There is a menustrip on the MDI parent window. When i add a menustrip on the MDI child window, the menu options appear on the MDI parent menustript. How can the MDI child window have its own menustrip? Thanks a lot.
7
11103
by: swatii | last post by:
I am using C#.net.My problem is that I have a MDI Parent form and on that I have menustrip control which i have disabled at the time of load of MDI parent.Now I have MDI child login form. Now If the valid user sign in then only that menustrip should be enabled. I used the below code on the "signin" button click event. MDIparent form1=new MDIparent(); form1.menustrip1.enabled=true; (modifier of menustrip is public). But this code is not...
0
7971
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7893
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8040
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8259
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6698
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5436
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3889
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3932
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2408
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.