Main Content

MinimizeCommandWindow

자동화 서버 창의 크기 최소화

요약

IDL 메서드 시그니처

HRESULT MinimizeCommandWindow(void)

Microsoft Visual Basic 클라이언트

MinimizeCommandWindow

MATLAB 클라이언트

MinimizeCommandWindow(h)

설명

MinimizeCommandWindow(h)는 핸들 h에 연결된 서버의 창을 최소화하여 비활성 창으로 만듭니다.

서버 창이 이미 최소화되어 있다면 MinimizeCommandWindow는 아무 동작도 하지 않습니다.

예제

모두 확장

이 예제에서는 MATLAB 자동화 서버에서 명령 창을 최소화하고 최대화하는 방법을 보여줍니다. 다음 코드를 사용하여 애플리케이션을 만듭니다.

type adjustcommandwindow.vb
Dim Matlab As Object

Matlab = CreateObject("matlab.application")
Matlab.MinimizeCommandWindow

'Now return the server window to its former state on 
'the desktop and make it the currently active window.

Matlab.MaximizeCommandWindow

이 예제에서는 MATLAB 자동화 서버에서 명령 창을 최소화하고 최대화하는 방법을 보여줍니다. 다음 코드를 사용하여 애플리케이션을 만듭니다.

type adjustcommandwindow.vba
Dim Matlab As Object

Set Matlab = CreateObject("matlab.application")
Matlab.MinimizeCommandWindow

'Now return the server window to its former state on 
'the desktop and make it the currently active window.

Matlab.MaximizeCommandWindow

버전 내역

R2006a 이전에 개발됨