CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2000

    disable an orientation change in Win 8

    In a windows 8 app, how can you disable the change in orientation on an app? I know this is not what you generally want, but how do you do it. If I have an app in landscape, how do I keep it in landscape even if the user turns the tablet to portrait?

  2. #2
    Join Date
    Nov 2003

    Re: disable an orientation change in Win 8

    In your app manifest you can select which orientations your app supports.
    I would try to only select your supported landscape orientation, and maybe that automatically prevents the other orientations. Never tried it though.
    Marc Gregoire - NuonSoft (
    My Blog
    Wallpaper Cycler

    Author of Professional C++, 4th Edition by Wiley/Wrox (includes C++17 features)
    ISBN: 978-1-119-42130-6
    [ ]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width