External Interfaces Reference |
Minimize size of server window
MATLAB Client
Method Signature
Visual Basic Client
Description
MinimizeCommandWindow
minimizes the window for the server attached to handle h
, and makes it inactive. If the server window was already in a minimized state to begin with, then MinimizeCommandWindow
does nothing.
Remarks
Server function names, like MinimizeCommandWindow
, 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
Create a COM server and minimize its window.
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. Call Matlab.MaximizeCommandWindow
See Also
MaximizeCommandWindow | PutCharArray |
© 1994-2005 The MathWorks, Inc.