如何以全屏模式运行Windows Mobile应用程序?

发布于 2024-12-17 06:01:44 字数 178 浏览 6 评论 0原文

我有一个使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

罪歌 2024-12-24 06:01:44

(假设问题是关于 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文