473,657 Members | 2,634 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# 2005 Beta 1, MdiWindowListIt em not cleared when children Maximized.

Anyone seen the following odd behaviour? (not found it in FAQs etc)

Create a simple project, two forms, first is MDI parent
with a MenuStrip, (File->New and Windows menu items).

Set MdiWindowListIt em for the MenuStrip to be WindowsToolStri pMenuItem,
(or whatever you called the 'Windows' item above).

Form1 code is just vanilla:

private void newToolStripMen uItem_Click(obj ect sender, EventArgs e)
{
Form2 x = new Form2();
x.MdiParent = this;
x.Show();
}

All works well. I can create many children, see them in the Windows
list, and remove them.

HOWEVER, if I maximize the children, either programatically ,
(this.WindowSta te = System.Windows. Forms.FormWindo wState.Maximize d)
or using the control, when I close them with [X], they are not removed
from the Windows List!

I can produce this every time with a project from scratch, so it's not
something daft in my current code....

Cheers,

Lee.
Nov 16 '05 #1
1 2839
You are correct. This does exhibit that behavior.

You should file a bug.

--
Gerry O'Brien
Visual Basic.NET MVP
"Lee Benfield" <lee@remove_ben f_evomer.org> wrote in message
news:8b******** *******@newsfe2-gui.ntli.net...
Anyone seen the following odd behaviour? (not found it in FAQs etc)

Create a simple project, two forms, first is MDI parent
with a MenuStrip, (File->New and Windows menu items).

Set MdiWindowListIt em for the MenuStrip to be WindowsToolStri pMenuItem,
(or whatever you called the 'Windows' item above).

Form1 code is just vanilla:

private void newToolStripMen uItem_Click(obj ect sender, EventArgs e)
{
Form2 x = new Form2();
x.MdiParent = this;
x.Show();
}

All works well. I can create many children, see them in the Windows
list, and remove them.

HOWEVER, if I maximize the children, either programatically ,
(this.WindowSta te = System.Windows. Forms.FormWindo wState.Maximize d)
or using the control, when I close them with [X], they are not removed
from the Windows List!

I can produce this every time with a project from scratch, so it's not
something daft in my current code....

Cheers,

Lee.

Nov 16 '05 #2

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

Similar topics

48
3706
by: ik | last post by:
ERROR after uninstalling SQL Server 2005 Express I get this message, SQLDMO has not been registered. Please re-run your setupand contact your system administrator. GREAT!!! ReInstalled SQL SERVER 2000 after playing around with SQL Server 2005...
1
1765
by: Peted | last post by:
Hi, sorry if this isnt the correct newsgroups for this questions but im using vc++ 2005 express edition beta2 for learning to program vc++ ..net, as in winforms applications and i was wondering if can anyone point me to some sample code for writing to connect to a existing telnet server I just want to be able to establish a connection, send character info and retreive the result sent back as a result of what i send.
6
1683
by: Heloise | last post by:
Hi, ..NET version: Visual C++ 2005 Express Edition Beta OS: XP I have a set of dlls built with .NET 2003. They are unmanaged C++ and C code. I am writing a managed C++ dll layer to call my unmanaged libraries using IJW.
13
1938
by: Howard Kaikow | last post by:
I just visited the MSFT web site and saw the comparison/pricing of the different VS 2005 versions. I was looking for a statement of the system requirements for VS Pro and VSTO, could not find. Also, more details on the differences between VS Pro and VSTO. For example, can VSTO be used to create a DLL, in particular, a DLL that can be used as an ActiveX DLL with Office? In VSTO, other than the addition of the support for Office 2003...
3
9525
by: Maileen | last post by:
Hi, I have 3 forms under vb.net 2005. MainForm (MDI parent) Form1 (MDI child) Form2 (MDI child) i have a ToolStripMenu and when i click on some particular item, i open an instance of Form1 or Form2. The particularity is that : 1. if an instance of MDI child is already opened, i show it, instead to create a new instance.
0
1990
by: Nicolas HOOGE | last post by:
Hi everybody In a Mdi Client application, if the caption for a child window changes, the window menu (MdiWindowListItem) is not updated to reflect the change. Is there anything I can do to fix (force the update) this? -- Nicolas HOOGE OMNILOG
3
3179
by: pine | last post by:
hi! i just joined this group today after a colleague told me about it. anyway, i'm new to SQL and haven't tried installing any version of it. I do have vb 6.0 though on my pc. My problem is that I can't install SQL server 05 EE, VB 2005 or VW 2005. I have downloaded all of the installer from the Microsoft site as well as the dotnetfix which is supposed to install the .net framework 2.0. whenever i try to install SQL server EE, it is...
0
2111
by: DarkMoebius | last post by:
Hello everybody. I want to do a MdiChilds bar. Like the Windows Task Bar. It is possible in a MenuStrip item with the property: Me.MenuStrip.MdiWindowListItem = MenuItem I want same functionality on a ToolStrip. Any idea?
0
8407
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
8319
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,...
0
8837
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7347
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
5638
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
4171
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...
1
2739
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
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1732
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.