APPLICATION_VIEW_ORIENTATION enumeration (shobjidl_core.h)

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 = 0,
  AVO_PORTRAIT
} ;

Constants

 
AVO_LANDSCAPE
Value: 0
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

Requirement Value
Minimum supported client Windows 8.1 [desktop apps only]
Minimum supported server Windows Server 2012 R2 [desktop apps only]
Header shobjidl_core.h

See also

IApplicationDesignModeSettings2::GetApplicationViewOrientation

IApplicationDesignModeSettings2::SetApplicationViewOrientation