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

win10自动隐藏任务栏后,我们的窗口最大化后,无法调出任务栏 #28

Open
roundtwo opened this issue Nov 26, 2018 · 1 comment

Comments

@roundtwo
Copy link

win10开启自动隐藏任务栏后,
1、鼠标移入到屏幕最下排,会自动浮现出任务栏。
2、但Cframelesswindow最大化后,鼠标移入屏幕最下排,不会自动浮现出任务栏。

原因是在第一种情况下,软件最大化了,但最下排还是预留了2个像素。比如说屏幕分辨率是1366768。在这种情况下软件占据的屏幕像素为:1366766
但在第二种情况下,Cframelesswindow最大化后占据屏幕像素还是:1366*768

@roundtwo
Copy link
Author

貌似这个能感知到任务栏是否隐藏,但我不知道修改哪里的代码
https://stackoverflow.com/questions/10085381/how-to-detect-if-autohidden-taskbar-is-visible-or-not

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

No branches or pull requests

1 participant