Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

MinimizeCommandWindow

Minimize size of Automation server window

Synopsis

IDL Method Signature

HRESULT MinimizeCommandWindow(void)

Microsoft Visual Basic Client

MinimizeCommandWindow

MATLAB Client

MinimizeCommandWindow(h)

Description

MinimizeCommandWindow(h) minimizes the window for the server attached to handle h, and makes it inactive.

If the server window was already in a minimized state, MinimizeCommandWindow does nothing.

Examples

From a Visual Basic® .NET client, modify the size of the command window in a MATLAB® Automation server.

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

Introduced before R2006a

Was this topic helpful?