Hi,
And I reproduce your second problem using C# win form, so I think it's an
winform problem, you may post your reply in this group, thanks
Kind regards,
Ying-Shen Yu [MS]
Microsoft Support Engineer
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. 2001 Microsoft Corporation. All rights
reserved.
--------------------
| From: "Alex Clark" <a...@theclarkhome.spamtin.net>
| Subject: Weird MDI Issues
| Date: Sun, 7 Sep 2003 21:57:44 +0100
| Lines: 210
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <O8J3yKYdDHA....@TK2MSFTNGP11.phx.gbl>
| Newsgroups:
microsoft.public.dotnet.framework.windowsforms,microsoft.public.dotnet.lang u
ages.vb
| NNTP-Posting-Host: pc4-basf3-5-cust169.nott.cable.ntl.com 81.106.151.169
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.vb:135283
microsoft.public.dotnet.framework.windowsforms:51824
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| Hi All,
|
| I'm having some weird issues with an MDI application I'm writing in
VB.NET.
| Apologies for the cross post to the VB newsgroup as well as the winforms
| one, but I'm not sure whether they affect Windows Forms as a whole or just
| VB.NET MDI apps.
|
| Firstly, if I have a child window open and maximized, and I break while
| debugging and resume, I seem to end up with 2 control boxes (see
weird1.jpg,
| attached). Okay, so this only happens whilst debugging, so it's not
really
| a serious issue, but it's strange nonetheless.
|
| Secondly, when an MDI child is first shown and it's maximized, I seem to
get
| the default .NET application icon in the top left instead of the icon that
| I've assigned to the form (see weird2.jpg, attached). This happens
whether
| or not I'm debugging. I've tried loading and displaying the MDI child in
| it's normal state first and then maximizing it programmatically, but it
| doesn't seem to fix it. The only thing that does seem to cure it is if
the
| user restores/minimizes the MDI window, and then maximizes it again. Then
| the correct icon is displayed.
|
| Anyone else experienced anything like this? I'm not doing anything
unusual
| with the MDI Parent/Children that I'm aware of.
|
| Thanks,
| Alex Clark
|
|
|