Documentation Center

  • Trial Software
  • Product Updates
我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

MaximizeCommandWindow

Open Automation server window

Synopsis

IDL Method Signature

HRESULT MaximizeCommandWindow(void)

Microsoft Visual Basic Client

MaximizeCommandWindow

MATLAB Client

h.MaximizeCommandWindow
MaximizeCommandWindow(h)

Description

h.MaximizeCommandWindow displays the window for the server attached to handle h, and makes it the currently active window on the desktop.

MaximizeCommandWindow(h) is an alternate syntax.

MaximizeCommandWindow restores the window to the size it had at the time it was minimized, not to the maximum size on the desktop. If the server window was not previously in a minimized state, MaximizeCommandWindow 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

See Also

Was this topic helpful?