Provides access to members that control the GxView.
| Description | ||
|---|---|---|
![]() |
Activate | Activates the view. |
![]() |
Applies | Indicates if the view can display the given object. |
![]() |
ClassID | The class ID of the view. |
![]() |
Deactivate | Deactivates the view. |
![]() |
DefaultToolbarCLSID | The class ID of the view's default toolbar. Not currently used. |
![]() |
hWnd | The view's window handle. |
![]() |
Name | The name of the view. |
![]() |
Refresh | Refreshes the view. |
![]() |
SupportsTools | Indicates if the view supports tools. |
![]() |
SystemSettingChanged | Informs the view that a system setting has changed. |
| CoClasses and Classes | Description |
|---|---|
| GxContentsView | Contents View. |
| GxDocumentationView | Metadata View. |
| GxGeographicView | Geographic View. |
| GxPreview | Preview. |
| GxTableView | Table Contents View. |
| GxTreeView | Tree View. |
A GxView must minimally support the IGxView interface, which ArcCatalog uses to negotiate with the view. It asks the view for an HWND to display through the hWnd property. It reparents this HWND so that it is a child of an ArcCatalog HWND, and guarantees events are passed to the HWND correctly, and that it is resized when the ArcCatalog window is resized. Developers wishing to create their own custom views must implement this interface.
Use the Activate property to hold on to the GxApplication and GxCatalog objects that are passed in as parameters. The Deactivate property is used to release these references.
DefaultToolbarCLSID provides a reference to the default toolbar for the particular view. The default toolbar for a view would contain tools that were appropriate for the current type of GxView.
If the SupportsTools property returns True, ArcCatalog will intercept mouse events normally destined for the view, and instead send them to the active tool.