[UWP] TryEnterFullScreenMode不起作用 [英] [UWP]TryEnterFullScreenMode don't work

查看:113
本文介绍了[UWP] TryEnterFullScreenMode不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮帮我。当我使用TryEnterFullScreenMode时,它不起作用。但是如果使用PreferredLaunchWindowingMode = ViewManagement :: ApplicationViewWindowingMode :: FullScreen,它的工作原理。我做错了什么?我的例子:
$
ViewManagement :: ApplicationView ^ view = :: ApplicationView :: GetForCurrentView();
$
view-> TryEnterFullScreenMode();

但是如果:

view-> PreferredLaunchWindowingMode = ViewManagement :: ApplicationViewWindowingMode :: FullScreen;

work,

if i use 

view-> TryEnterFullScreenMode();
$
view-> PreferredLaunchWindowingMode = ViewManagement :: ApplicationViewWindowingMode :: FullScreen;

not work

感谢您的时间!

Please help me. When i use TryEnterFullScreenMode, it doesn't work. But if use PreferredLaunchWindowingMode = ViewManagement::ApplicationViewWindowingMode::FullScreen, it's work. What i do wrong? My example:
ViewManagement::ApplicationView^ view = ::ApplicationView::GetForCurrentView();
view->TryEnterFullScreenMode();
but if :
view->PreferredLaunchWindowingMode = ViewManagement::ApplicationViewWindowingMode::FullScreen;
work,
if i use 
view->TryEnterFullScreenMode();
view->PreferredLaunchWindowingMode = ViewManagement::ApplicationViewWindowingMode::FullScreen;
not work
Thank for your time!

推荐答案

请在发布前阅读粘贴帖子。 Windows 10 SDK和工具的已知问题 论坛明确不受监控而不是支持论坛: 
不要在这个论坛发帖!

Please read the sticky posts before posting. The Known Issues for Windows 10 SDK and Tools forum is explicitly unmonitored and not a support forum: Please don't post in this forum!


这篇关于[UWP] TryEnterFullScreenMode不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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