Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maxinfo 无法正常工作 #101

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 0 comments
Open

maxinfo 无法正常工作 #101

GoogleCodeExporter opened this issue Mar 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. 
设置windows的maxinfo属性(用来设置窗口的最大尺寸),比如<Wi
ndow size="800,600" mininfo="600,400" maxinfo="800,800" caption="0,0,0,32" 
sizebox="4,4,4,4">
2. 继承 DuiLib::WinImpBase
3. 点击最大化按钮,出现一个病态的窗口,请参看附件

What is the expected output? What do you see instead?
窗口在屏幕左上角以800*800的大小显示。现在情况是大小是对�
��,但是title上的按钮都消失了,似乎是窗口右半部分被剪裁�
��了。请看附件

What version of the product are you using? On what operating system?
Win7

Please provide any additional information below.
把WindowImplBase::OnNcCalcSize中的代码注释掉,可以解决此问题。
OnNcCalcSize中未有考虑maxinfo中的信息,而是以当前显示器的大�
��设置了相关参数。
另外在r382中提到的,“完善Dui窗口在Win7多屏幕扩展模式下全
屏异常Bug”,是什么问题,我没有遇到。

总之这个问题和r382中的bugfix有关。

Could davidyang help?  Thanks.

Original issue reported on code.google.com by [email protected] on 21 Mar 2014 at 7:27

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant