enumeração APPLICATION_VIEW_SIZE_PREFERENCE (shobjidl_core.h)

Define o conjunto de possíveis preferências de tamanho de janela geral (exibição de aplicativo). 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
O aplicativo não especifica uma preferência de tamanho de janela. O Windows, em vez do aplicativo, define a preferência de tamanho, que usa como padrão AVSP_USE_HALF.
AVSP_USE_LESS
Valor: 1
Prefere usar menos de 50% dos pixels de tela horizontal disponíveis.
AVSP_USE_HALF
Valor: 2
Prefere usar 50% (metade) dos pixels de tela horizontal disponíveis.
AVSP_USE_MORE
Valor: 3
Prefere usar mais de 50% dos pixels de tela horizontais disponíveis.
AVSP_USE_MINIMUM
Valor: 4
Prefere usar a largura mínima de pixel horizontal (320 ou 500 pixels) especificada no manifesto do aplicativo.
AVSP_USE_NONE
Valor: 5
A janela não tem nenhum componente visível.
AVSP_CUSTOM
Valor: 6

Requisitos

Requisito Valor
Cliente mínimo com suporte Windows 8.1 [somente aplicativos da área de trabalho]
Servidor mínimo com suporte Windows Server 2012 R2 [somente aplicativos da área de trabalho]
Cabeçalho shobjidl_core.h

Confira também

IApplicationDesignModeSettings2::GetApplicationViewOrientation

IApplicationDesignModeSettings2::SetApplicationViewOrientation