Main Content

MaximizeCommandWindow

자동화 서버 창 열기

요약

IDL 메서드 시그니처

HRESULT MaximizeCommandWindow(void)

Microsoft Visual Basic 클라이언트

MaximizeCommandWindow

MATLAB 클라이언트

MaximizeCommandWindow(h)

설명

MaximizeCommandWindow(h)는 핸들 h에 연결된 서버의 창을 표시하고 이 창을 데스크탑의 현재 활성 창으로 만듭니다.

MaximizeCommandWindow는 창을 데스크탑에서의 최대 크기가 아닌, 창이 최소화되었을 때의 크기로 복원합니다. 서버 창이 이전에 최소화된 상태가 아니었다면 MaximizeCommandWindow는 아무 동작도 하지 않습니다.

예제

모두 확장

이 예제에서는 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 이전에 개발됨