Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

APPLICATION_VIEW_SIZE_PREFERENCE enumeration

Defines the set of possible general window (app view) size preferences. Used by ILaunchSourceViewSizePreference::GetSourceViewSizePreference and ILaunchTargetViewSizePreference::GetTargetViewSizePreference.

Syntax


typedef enum APPLICATION_VIEW_ORIENTATION { 
  AVSP_DEFAULT      = 0,
  AVSP_USE_LESS     = 1,
  AVSP_USE_HALF     = 2,
  AVSP_USE_MORE     = 3,
  AVSP_USE_MINIMUM  = 4,
  AVSP_USE_NONE     = 5
} APPLICATION_VIEW_ORIENTATION;

Constants

AVSP_DEFAULT

The app does not specify a window size preference. Windows, rather than the app, sets the size preference, which defaults to AVSP_USE_HALF.

AVSP_USE_LESS

Prefers to use less than 50% of the available horizontal screen pixels.

AVSP_USE_HALF

Prefers to use 50% (half) of the available horizontal screen pixels.

AVSP_USE_MORE

Prefers to use more than 50% of the available horizontal screen pixels.

AVSP_USE_MINIMUM

Prefers to use the minimum horizontal pixel width (either 320 or 500 pixels) specified in the app's manifest.

AVSP_USE_NONE

The window has no visible component.

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.