[UWP] TryEnterFullScreenMode不起作用

编程入门 行业动态 更新时间:2024-10-24 16:32:41
本文介绍了[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. TheKnown Issues for Windows 10 SDK and Toolsforum is explicitly unmonitored and not a support forum:Please don't post in this forum!

更多推荐

[UWP] TryEnterFullScreenMode不起作用

本文发布于:2023-11-27 21:17:01,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1639633.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不起作用   UWP   TryEnterFullScreenMode

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!