APPLICATION_VIEW_STATE enumeration (shobjidl_core.h)

Indicates the current view state of a Windows Store app. Used by IApplicationDesignModeSettings::SetApplicationViewState and IApplicationDesignModeSettings::IsApplicationViewStateSupported.

Syntax

typedef enum APPLICATION_VIEW_STATE {
  AVS_FULLSCREEN_LANDSCAPE = 0,
  AVS_FILLED,
  AVS_SNAPPED,
  AVS_FULLSCREEN_PORTRAIT
} ;

Constants

 
AVS_FULLSCREEN_LANDSCAPE
Value: 0
The current app's view is full-screen (has no snapped app adjacent to it), and is in landscape orientation.
AVS_FILLED
The current app's view has been reduced to a partial screen view as the result of another app snapping (being docked at one side of the screen in a narrow view).
AVS_SNAPPED
The current app's view has been snapped (docked at one side of the screen in a narrow view).
AVS_FULLSCREEN_PORTRAIT
The current app's view is full-screen (has no snapped app adjacent to it), and is in portrait orientation.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header shobjidl_core.h (include Shobjidl.h)

See also

IApplicationDesignModeSettings::IsApplicationViewStateSupported

IApplicationDesignModeSettings::SetApplicationViewState