APPLICATION_VIEW_SIZE_PREFERENCE enumeration (shobjidl_core.h)

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

Syntax

typedef enum APPLICATION_VIEW_SIZE_PREFERENCE {
  AVSP_DEFAULT,
  AVSP_USE_LESS,
  AVSP_USE_HALF,
  AVSP_USE_MORE,
  AVSP_USE_MINIMUM,
  AVSP_USE_NONE,
  AVSP_CUSTOM
} ;

Constants

Name Description
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.
AVSP_CUSTOM

Requirements

   
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