| MATLAB® | ![]() |
h.MaximizeCommandWindow MaximizeCommandWindow(h) invoke(h, 'MaximizeCommandWindow')
HRESULT MaximizeCommandWindow(void)
MaximizeCommandWindow
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. |
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.
Create a COM server and minimize its window. Then maximize the window and make it the currently active window.
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;
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
![]() | max (timeseries) | maxNumCompThreads | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |