最大化的MDIChild错误? [英] Maximised MDIChild bug?

查看:53
本文介绍了最大化的MDIChild错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我将我的表单的windowstate属性设置为在设计器中最大化,

当我以mdi子项打开表单时,它不会填满整个mdi

应该是父表格。我可以通过在设计器中保留windowstate

来解决这个问题,并在显示

表单之前在运行时更改windowstate。这是一个已知的问题吗?

If I set the windowstate property of my form to maximized in the designer,
when I open the form as an mdi child, it does not fill the whole of the mdi
parent form as it should. I can get around this by leaving the windowstate
as normal in the designer and changing the windowstate at runtime before the
form is displayed. Is this a known problem?

推荐答案

我遇到过这个问题,这是我能够解决它的唯一方法

well。

我现在将所有窗口都保持为正常状态当我按照代码创建

对象时设置窗口状态。


如果你为mdi子窗体分配图标......我也注意到了一些

图标不显示。

我还没有找到解决方案。


Miro

菲尔 < N / Awrote in message

news:46 ********************** @ ptn-nntp-reader02.plus.net ...
I have run into this issue, and that is the only way I was able to fix it as
well.
I now leave all my windows to "normal" and set teh windowstate as i create
the object by code.

If you assign icons to the mdi child forms ... I have also noticed that some
icons do not display.
I have not found a solution for this yet.

Miro
"Phil" <N/Awrote in message
news:46**********************@ptn-nntp-reader02.plus.net...

如果我在设计器中将我的表单的windowstate属性设置为最大化,那么当我以mdi形式打开表单时,
孩子,它没有填充整个

mdi父表格。我可以通过在设计器中正常保留

windowstate并在显示表单之前在

运行时更改windowstate来解决这个问题。这是一个已知的问题吗?
If I set the windowstate property of my form to maximized in the designer,
when I open the form as an mdi child, it does not fill the whole of the
mdi parent form as it should. I can get around this by leaving the
windowstate as normal in the designer and changing the windowstate at
runtime before the form is displayed. Is this a known problem?



你好菲尔,


你能否告诉我您正在使用的Visual Studio版本?


我在VS.NET 2003和VS 2005中都进行了测试,但没有重现

我测试中的问题。


我只是将MDI子窗体的'WindowState属性设置为最大化设计

时间。运行应用程序时,将显示MDI子表单,并在其MDI父级中最大化



此致,

Linda刘

微软在线社区支持


========================= =========================

通过电子邮件收到我的帖子通知?请参阅
http://msdn.microsoft .com / subscripti ... ult.aspx#notif

ications。


注意:MSDN托管新闻组支持服务是针对非紧急问题

如果社区或微软支持人员在1个工作日内做出初步回复是可以接受的。请注意,每个跟随

的响应可能需要大约2个工作日作为支持

专业人士与您合作可能需要进一步调查才能达到

最有效的分辨率。该产品不适用于需要紧急,实时或基于电话的交互或复杂的b $ b项目分析和转储分析问题的情况。这种性质的问题最好通过联系

Microsoft客户支持服务(CSS)处理
href =http://msdn.microsoft.com/subscriptions/support/default.aspx\"target =_ blank> http://msdn.microsoft.com/subscripti...t/default.aspx

======================================== ==========


此帖子按原样提供。没有保证,也没有授予任何权利。

Hi Phil,

Could you please tell me the version of the Visual Studio you''re using?

I performed tests in both VS.NET 2003 and VS 2005, but didn''t reproduce the
problem in my tests.

I just set the MDI child form''s WindowState property to Maximized at design
time. When the application is run, the MDI child form is shown and
maximized in its MDI parent.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.


我使用Visual Studio.NET 2005(安装了SP1,获得了同样的问题)

在安装SP1之前也得到了它。

I get the same issue using Visual Studio.NET 2005 (with SP1 installed,
also got it before I installed SP1).


这篇关于最大化的MDIChild错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆