This document covers the following topics:
A currently open generic document window.
The following properties are available:
Used to navigate to the parent interface of this interface.
| Natural Data Format | Variant Type | Remark |
|---|---|---|
| HANDLE OF OBJECT | VT_DISPATCH (INatAutoGenericDocuments) | Get only |
Used to navigate to the root interface.
| Natural Data Format | Variant Type | Remark |
|---|---|---|
| HANDLE OF OBJECT | VT_DISPATCH (INatAutoStudio) | Get only |
The dialog ID of the Natural dialog that implements the window.
This is the dialog ID that was passed to the Add
method during creation of the generic document window.
| Natural Data Format | Variant Type | Remark |
|---|---|---|
| I4 | VT_I4 | Get only |
The ID of the plug-in that created the document window. A plug-in can use this property to iterate only across its own document windows.
| Natural Data Format | Variant Type | Remark |
|---|---|---|
| A | VT_BSTR | Get only |
The caption of the document window.
| Natural Data Format | Variant Type | Remark |
|---|---|---|
| A | VT_BSTR | Get only |
The following method is available:
Closes the generic document window. This method is executed
asynchronously. In particular, this means that if it is called from within the
method OnCommand of a plug-in, the window will only
really be closed after the method OnCommand has
terminated.
A plug-in that has created a generic document window can expect to
receive the following notifications through the method
OnNotify: