| Maptitude GISDK Help |
Closes the window containing the COM control.
Added to Version 5.0.
CloseCOMControl(string name)
| Argument | Contents |
|---|---|
| name | The name of the COM control window |
The control is closed without executing the close macro.
name = CreateCOMControl("My Control", "Shell.Explorer", {
{"Event Macro", "Explorer Event Macro"}})
CloseCOMControl(name)
| Error Type | Meaning |
|---|---|
| NotFound | A COM window was not found by that name |
| Function | Summary |
|---|---|
| CreateCOMControl() | Creates a new COM control window |
| CreateCOMObject() | Creates a new instance of a COMObject |
| GetCOMCollectionObjects() | Gets the COM objects in a COM collection |
| GetCOMControlObject() | Gets the COM interface of a COM control window |
| GetCOMInterfaceName() | Gets the name of the COM interface for an object from the type library |
| GetCOMObject() | Gets the currently active instance of a COMObject |
| SetCOMControlTitle() | Sets the title of a COM control window. |
| ©2025 Caliper Corporation | www.caliper.com |