[W8.1]如何为Windows 8.1应用程序指定ApplicationViewWindowingMode的等效项? [英] [W8.1]How can I specify the equivalent of ApplicationViewWindowingMode for a Windows 8.1 app?

查看:238
本文介绍了[W8.1]如何为Windows 8.1应用程序指定ApplicationViewWindowingMode的等效项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一些商店配置或appxmanifest设置我可以用来说"显示我的应用程序我是如何设计它的?"从字面上看,每个现有的Windows 8.x应用程序都设计为全屏或可能是快照。

Is there some Store configuration or appxmanifest setting I can use to say "Show my app how I designed it to be shown?" Literally every existing Windows 8.x app was designed to be fullscreen or maybe snapped.

我们的应用程序在Windows 10中作为窗口winrt应用程序几乎没有意义。它还会造成非常难看的错误我们的窗口我们的应用程序是调整大小或任意大小的,只发生在Windows 10中。我看到Windows 10
中有一个API可用于表示该应用程序只应以全屏模式显示。但是Windows 8.x应用呢?如何表达它永远不应该在桌面窗口中?

Our app barely even makes sense as a windowed winrt app in Windows 10. It also creates very ugly bugs for us to have the window our app is in resized or arbitrarily-sized which only happens in Windows 10. I see that there's an API available in Windows 10 to express that the app should only be shown in fullscreen mode. But what about Windows 8.x apps? How can I express that it should never be in a desktop window?

TedHoward

TedHoward

推荐答案

你好Ted,

没有直接的模拟。 Windows 10上的Windows 8.1应用程序仍将限制在Windows 8.1上可用的窗口大小(最小500x768,除非应用程序指定320px),因此应用程序仍然可以像以前一样工作。

There isn't a direct analogue. Your Windows 8.1 app on Windows 10 will still be limited to window sizes that were possible on Windows 8.1 (min 500x768 unless the app specifies 320px) so the app should still work as well as it did previously.

那说:


  1. 您可以通过反射来获取Windows 10特定的ApplicationView方法。
  2. PreferredLaunchWindowingMode等建议不是强制性的,所以即使对于Windows 10应用程序,它们也可能被覆盖。

- Rob


这篇关于[W8.1]如何为Windows 8.1应用程序指定ApplicationViewWindowingMode的等效项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆