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 = 0,
AVSP_USE_LESS = 1,
AVSP_USE_HALF = 2,
AVSP_USE_MORE = 3,
AVSP_USE_MINIMUM = 4,
AVSP_USE_NONE = 5,
AVSP_CUSTOM = 6
} ;
Constants
AVSP_DEFAULT Value: 0 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 Value: 1 Prefers to use less than 50% of the available horizontal screen pixels. |
AVSP_USE_HALF Value: 2 Prefers to use 50% (half) of the available horizontal screen pixels. |
AVSP_USE_MORE Value: 3 Prefers to use more than 50% of the available horizontal screen pixels. |
AVSP_USE_MINIMUM Value: 4 Prefers to use the minimum horizontal pixel width (either 320 or 500 pixels) specified in the app's manifest. |
AVSP_USE_NONE Value: 5 The window has no visible component. |
AVSP_CUSTOM Value: 6 |
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