如何以全屏模式运行Windows Mobile应用程序?
我有一个使用 Visual Studio 2010 和 C#(智能设备项目)开发的 Windows Mobile 应用程序。当我运行该应用程序时,顶部有一个可见的开始菜单栏,底部有一个键盘栏。如何使我的应用程序以全屏模式运行?
如果可能的话,我希望有一个解决方案,允许我在运行时打开和关闭全屏模式(例如,单击某个表单按钮后)。
I have a Windows Mobile application developed with Visual Studio 2010 and C# (Smart Device Project). When I run the application there's a start menu bar visible on the top and keyboard bar on the bottom. How can I make my application run in full-screen mode?
If possible I would like to have a solution that will allow me to turn full-screen mode on and off on runtime (after clicking some form button for example).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
(假设问题是关于 Windows Mobile 而不是 Windows Phone。)
在 Windows Mobile 上,如果您想要隐藏 Windows 中通常无法隐藏的部分,则必须使用 P/Invoke 来隐藏它们。有很多像这样的问题已经得到解答,其中一些< a href="http://www.codeproject.com/Articles/128737/Mobile-Development-Disable-Windows-Mobile-6-5-Star" rel="nofollow noreferrer">其他资源 也。当然,您可以从事件处理程序调用 P/Invoke。
(Assuming the question is about Windows Mobile and not Windows Phone.)
On Windows Mobile if you want to hide parts of Windows that normally can't be hidden, you have to hide them with P/Invoke. There are plenty of questions like this already answered and some other resources too. And of course you can call the P/Invoke from an event handler.