Represents a handler for model view events.
More...
|
| HRESULT | OnObjectsVisibilityChanged ([in] SAFEARRAY(int) pShowedObjectIds, [in] SAFEARRAY(int) pHiddenObjectIds) |
| | Handles the objects visibility changed event. It is impossible to change the visibility of an object in the handler of this event.
|
| HRESULT | OnObjectsVisualStyleChanged ([in] SAFEARRAY(int) pChangedObjectIds, [in] enum VisualStyle newVisualStyle) |
| | Handles the objects visual style changed event. It is impossible to change the visual style of an object in the handler of this event.
|
| HRESULT | OnViewVisualStyleChanged ([in] enum VisualStyle newVisualStyle) |
| | Handles the view visual style changed event. It is impossible to change the visual style of a view in the handler of this event.
|
◆ OnObjectsVisibilityChanged()
| HRESULT OnObjectsVisibilityChanged |
( |
[in] SAFEARRAY(int) | pShowedObjectIds, |
|
|
[in] SAFEARRAY(int) | pHiddenObjectIds ) |
Handles the objects visibility changed event. It is impossible to change the visibility of an object in the handler of this event.
- Parameters
-
| [in] | pShowedObjectIds | IDs of showed objects |
| [in] | pHiddenObjectIds | IDs of hidden objects |
- See also
- IModelView::SetObjectsVisibility, IModelView::IsObjectVisible
◆ OnObjectsVisualStyleChanged()
| HRESULT OnObjectsVisualStyleChanged |
( |
[in] SAFEARRAY(int) | pChangedObjectIds, |
|
|
[in] enum VisualStyle | newVisualStyle ) |
Handles the objects visual style changed event. It is impossible to change the visual style of an object in the handler of this event.
- Parameters
-
| [in] | pChangedObjectIds | IDs of objects whose visual style has changed |
| [in] | newVisualStyle | The new visual style that has been set for the objects |
- See also
- IModelView::SetObjectsVisualStyle, IModelView::GetObjectVisualStyle
◆ OnViewVisualStyleChanged()
| HRESULT OnViewVisualStyleChanged |
( |
[in] enum VisualStyle | newVisualStyle | ) |
|
Handles the view visual style changed event. It is impossible to change the visual style of a view in the handler of this event.
- Parameters
-
| [in] | newVisualStyle | The new visual style of the view |
- See also
- IModelView::VisualStyle