473,480 Members | 1,849 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

MDI Forms - help

Hi,
I have an MDI form that has a number of child forms which are all maximized.
How do I make an MDI Parent that does not have the menu bar (with the
max/min/close buttons for the child)?

Thanks in advance,

Tim.
Feb 26 '06 #1
2 1426
hi,

why would you want to do that? if they are all maximised (the MDI children
that is) and there were no caption buttons in the menu bar you wouldnt be
able to switch from page to page.

anyway, i'm not the surest of people but i suspect you cant. i think the
menuBar control is written to do that. you would have to write your own
MenuBar control or not have one.

hope it helps! sorry if it doesnt!
--
mensuur
"Timothy V" wrote:
Hi,
I have an MDI form that has a number of child forms which are all maximized.
How do I make an MDI Parent that does not have the menu bar (with the
max/min/close buttons for the child)?

Thanks in advance,

Tim.

Feb 26 '06 #2
Thanks for your response... I thought I'd tell you why. Basically I want to
detachable forms so that the MDI parent will be a tabbing form. The children
can be detatched to become independent of the parent.

Because I want the parent to be a tabbing container, having the menu with
the caption buttons there would make the window look ugly. At any rate, I
found a solution to the problem... two lines placed in the MDI parent
constructor:
this.MainMenuStrip = new MenuStrip();
this.MainMenuStrip.Visible = false;

Thanks for your response :-) I hope I answered your question too :-)

"mensuur" <me*****@discussions.microsoft.com> wrote in message
news:F6**********************************@microsof t.com...
hi,

why would you want to do that? if they are all maximised (the MDI children
that is) and there were no caption buttons in the menu bar you wouldnt be
able to switch from page to page.

anyway, i'm not the surest of people but i suspect you cant. i think the
menuBar control is written to do that. you would have to write your own
MenuBar control or not have one.

hope it helps! sorry if it doesnt!
--
mensuur
"Timothy V" wrote:
Hi,
I have an MDI form that has a number of child forms which are all
maximized.
How do I make an MDI Parent that does not have the menu bar (with the
max/min/close buttons for the child)?

Thanks in advance,

Tim.

Feb 26 '06 #3

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

Similar topics

6
4789
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms...
6
2812
by: ALthePal | last post by:
Hi, I'm not sure if we are able to or even how to loop through the web forms in a VB.NET project during design time. In MSAccess we are able to go through the database -> forms collection and...
19
4061
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
2
2456
by: misscrf | last post by:
I have a search form that is great. I have modified it in such a way, that when search results come up I can bring it back to a useful spot, say an entry form or a report. Here is my lemon (...
2
1961
by: Rob | last post by:
I was working on a project and everything was going fine, then all of a sudden the form set as my startup object stopped loading. I tried setting some others as the startup object, and some of my...
15
2026
by: Joshua Kendall | last post by:
I have a script in which it keeps opening the same form instead of only one instance. I also need help with a form that has a password. Where do I put the actual password? can I use a database for...
8
2699
by: Stephen Rice | last post by:
Hi, I have a periodic problem which I am having a real time trying to sort. Background: An MDI VB app with a DB on SQL 2000. I have wrapped all the DB access into an object which spawns a...
1
1809
by: Troy Bull | last post by:
Greetings I am trying to use a singleton to hold a group of forms. I have a MDIMaster form. I have a class called Forms; Forms is a singleton. I want to do something like the following. In...
5
3525
by: Rory Becker | last post by:
Having now created a Custom MembershipProvider that seems to work correctly with my Logon and ChangePassword controls, I am, as they say, a happy bunny. The next stange is to move on to the...
21
3281
by: Dan Tallent | last post by:
In my application I have a form (Customer) that I want to be able to open multiple copies at once. Within this form I have other forms that can be opened. Example: ZipCode. When the user enters...
0
7059
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7103
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5362
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,...
1
4799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4499
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...
0
3011
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...
0
3003
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1311
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 ...
0
203
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.