【问题标题】:How to run Windows Mobile application in full screen mode?如何以全屏模式运行 Windows Mobile 应用程序?
【发布时间】:2012-01-03 23:08:03
【问题描述】:

我有一个使用 Visual Studio 2010 和 C#(智能设备项目)开发的 Windows Mobile 应用程序。当我运行应用程序时,顶部有一个开始菜单栏,底部有一个键盘栏。如何让我的应用程序以全屏模式运行?

如果可能的话,我希望有一个解决方案,允许我在运行时打开和关闭全屏模式(例如,在单击某个表单按钮之后)。

【问题讨论】:

标签: c# visual-studio windows-mobile compact-framework fullscreen


【解决方案1】:

(假设问题是关于 Windows Mobile 而不是 Windows Phone。)

在 Windows Mobile 上,如果您想隐藏通常无法隐藏的 Windows 部分,则必须使用 P/Invoke 隐藏它们。有很多questions 已经回答了这样的问题,还有一些other resources 也有。当然,您可以从事件处理程序中调用 P/Invoke。

【讨论】:

    猜你喜欢
    • 2010-11-20
    • 2012-06-13
    • 2015-10-23
    • 1970-01-01
    • 2012-09-22
    • 2020-02-06
    • 2015-02-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多