Export (0) Print
Expand All
Expand Minimize

APPLICATION_VIEW_ORIENTATION enumeration

Defines the set of display orientation modes for a window (app view). Used by IApplicationDesignModeSettings2::GetApplicationViewOrientation and IApplicationDesignModeSettings2::SetApplicationViewOrientation.

Syntax


typedef enum APPLICATION_VIEW_ORIENTATION { 
  AVO_LANDSCAPE  = 0x00000000,
  AVO_PORTRAIT   = 0x00000001
} APPLICATION_VIEW_ORIENTATION;

Constants

AVO_LANDSCAPE

The window is in landscape orientation, with the display width greater than the height.

AVO_PORTRAIT

The window is in portrait orientation, with the display height greater than the width.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IApplicationDesignModeSettings2::GetApplicationViewOrientation
IApplicationDesignModeSettings2::SetApplicationViewOrientation

 

 

Show:
© 2014 Microsoft