다음을 통해 공유


IUIAutomationWindowPattern::SetWindowVisualState 메서드(uiautomationclient.h)

창을 최소화, 최대화 또는 복원합니다.

구문

HRESULT SetWindowVisualState(
  [in] WindowVisualState state
);

매개 변수

[in] state

형식: WindowVisualState

창의 새 시각적 상태입니다.

반환 값

형식: HRESULT

메서드가 성공하면 S_OK를 반환하고, 성공하지 않으면 HRESULT 오류 코드를 반환합니다.

요구 사항

요구 사항
지원되는 최소 클라이언트 Windows 7, Windows Vista SP2 및 Windows Vista용 플랫폼 업데이트, WINDOWS XP SP3 및 Windows Vista용 플랫폼 업데이트 [데스크톱 앱만 해당]
지원되는 최소 서버 Windows Server 2008 R2, Windows Server 2008 SP2 및 Windows Server 2008용 플랫폼 업데이트, Windows Server 2003 SP2 및 Windows Server 2008용 플랫폼 업데이트 [데스크톱 앱만 해당]
대상 플랫폼 Windows
헤더 uiautomationclient.h(UIAutomation.h 포함)

추가 정보

IUIAutomationWindowPattern