enumeración APPLICATION_VIEW_SIZE_PREFERENCE (shobjidl_core.h)

Define el conjunto de posibles preferencias de tamaño de ventana general (vista de aplicación). Usado por ILaunchSourceViewSizePreference::GetSourceViewSizePreference e 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
} ;

Constantes

 
AVSP_DEFAULT
Valor: 0
La aplicación no especifica una preferencia de tamaño de ventana. Windows, en lugar de la aplicación, establece la preferencia de tamaño, que tiene como valor predeterminado AVSP_USE_HALF.
AVSP_USE_LESS
Valor: 1
Prefiere usar menos del 50 % de los píxeles de pantalla horizontal disponibles.
AVSP_USE_HALF
Valor: 2
Prefiere usar el 50 % (mitad) de los píxeles de pantalla horizontal disponibles.
AVSP_USE_MORE
Valor: 3
Prefiere usar más del 50 % de los píxeles de pantalla horizontal disponibles.
AVSP_USE_MINIMUM
Valor: 4
Prefiere usar el ancho de píxel horizontal mínimo (320 o 500 píxeles) especificado en el manifiesto de la aplicación.
AVSP_USE_NONE
Valor: 5
La ventana no tiene ningún componente visible.
AVSP_CUSTOM
Valor: 6

Requisitos

   
Cliente mínimo compatible Windows 8.1 [solo aplicaciones de escritorio]
Servidor mínimo compatible Windows Server 2012 R2 [solo aplicaciones de escritorio]
Encabezado shobjidl_core.h

Consulte también

IApplicationDesignModeSettings2::GetApplicationViewOrientation

IApplicationDesignModeSettings2::SetApplicationViewOrientation