MinimizeCommandWindow
最小化自动化服务器窗口的大小
大纲
IDL 方法签名
HRESULT MinimizeCommandWindow(void)
Microsoft Visual Basic 客户端
MinimizeCommandWindow
MATLAB 客户端
MinimizeCommandWindow(h)
描述
MinimizeCommandWindow(h)
最小化附加到句柄 h
的服务器的窗口,并使该窗口处于非活动状态。
如果服务器窗口已处于最小化状态,则 MinimizeCommandWindow
不会执行任何操作。
示例
在 Visual Basic .NET 中调整 MATLAB 命令行窗口
此示例说明如何在 MATLAB 自动化服务器中最小化和最大化命令行窗口。从以下代码创建一个应用程序。
type adjustcommandwindow.vb
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
在 VBA 中调整 MATLAB 命令行窗口
此示例说明如何在 MATLAB 自动化服务器中最小化和最大化命令行窗口。从以下代码创建一个应用程序。
type adjustcommandwindow.vba
Dim Matlab As Object Set 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
版本历史记录
在 R2006a 之前推出
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)