Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想根据运行的系统屏幕的分辨率设置我的应用程序的分辨率。当我使用 Windows 时,我想在顶部并且全屏覆盖甚至任务栏。我希望应用程序像 ATM 界面一样打开,所以应用程序应该填满整个屏幕。请帮我找到解决方案。谢谢
框架对象有一个您可以使用的“ShowFullScreen”方法。我刚刚测试了它,它工作正常,虽然它没有显示应用程序的标题栏。我不知道你是否在乎这个。
编辑:呃,要调用框架对象的方法,你会做类似的事情
self.ShowFullScreen(True)
或者
myFrame.ShowFullScreen(True)