disable an orientation change in Win 8
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: disable an orientation change in Win 8

  1. #1
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,420

    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
    Location
    Belgium
    Posts
    8,062

    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.

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center