External Interfaces Reference |
Display server window on Windows desktop
MATLAB Client
Method Signature
Visual Basic Client
Description
MaximizeCommandWindow
displays the window for the server attached to handle h
, and makes it the currently active window on the desktop. If the server window was not in a minimized state to begin with, then MaximizeCommandWindow
does nothing.
Note
MaximizeCommandWindow does not maximize the server window to its maximum possible size on the desktop. It restores the window to the size it had at the time it was minimized.
|
Remarks
Server function names, like MaximizeCommandWindow
, are case sensitive when using the first syntax shown.
There is no difference in the operation of the three syntaxes shown above for the MATLAB client.
Examples
Create a COM server and minimize its window. Then maximize the window and make it the currently active window.
MATLAB Client
h = actxserver('matlab.application'); h.MinimizeCommandWindow; % Now return the server window to its former state on % the desktop and make it the currently active window. h.MaximizeCommandWindow;
Visual Basic Client
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
GetWorkspaceData | MinimizeCommandWindow |
© 1994-2005 The MathWorks, Inc.