473,395 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

C# 2005 Beta 1, MdiWindowListItem 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 MdiWindowListItem for the MenuStrip to be WindowsToolStripMenuItem,
(or whatever you called the 'Windows' item above).

Form1 code is just vanilla:

private void newToolStripMenuItem_Click(object 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.WindowState = System.Windows.Forms.FormWindowState.Maximized)
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 2824
You are correct. This does exhibit that behavior.

You should file a bug.

--
Gerry O'Brien
Visual Basic.NET MVP
"Lee Benfield" <lee@remove_benf_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 MdiWindowListItem for the MenuStrip to be WindowsToolStripMenuItem,
(or whatever you called the 'Windows' item above).

Form1 code is just vanilla:

private void newToolStripMenuItem_Click(object 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.WindowState = System.Windows.Forms.FormWindowState.Maximized)
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
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...
1
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...
6
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...
13
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. ...
3
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...
0
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...
3
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...
0
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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
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
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...

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.