Represents a handler for application events.
More...
Represents a handler for application events.
- See also
- How to handle events, IApplication
◆ OnActiveViewChanged()
| HRESULT OnActiveViewChanged |
( |
[in] int | activatedViewId | ) |
|
Handles the active view changed event. It is impossible to change active view in the handler of this event.
- Note
- This event is also raised when project has been opened or created, but it is not raised when project has been closed.
- Parameters
-
| [in] | activatedViewId | The Id of activated view |
- See also
- IApplication::ActiveView
◆ OnBeforeApplicationClose()
◆ OnBeforeProjectClose()
◆ OnBeforeViewClose()
| HRESULT OnBeforeViewClose |
( |
[in] int | closingViewId | ) |
|
Handles the before view close event.
- Parameters
-
| [in] | closingViewId | The Id of closing view |
- See also
- IApplication::CloseView
◆ OnProjectClosed()
| HRESULT OnProjectClosed |
( |
| ) |
|
◆ OnProjectCreated()
| HRESULT OnProjectCreated |
( |
| ) |
|
◆ OnProjectOpened()
| HRESULT OnProjectOpened |
( |
[in] BSTR | filePath_ | ) |
|
This event is raised after the Renga project has been opened.
- Parameters
-
| [in] | filePath_ | Path of the opened project. |
- See also
- IApplication::OpenProject
◆ OnProjectSaved()
| HRESULT OnProjectSaved |
( |
[in] BSTR | filePath_ | ) |
|
This event is raised after the Renga project has been saved.
- Parameters
-
| [in] | filePath_ | Path of the saved project. |
- See also
- IProject::Save
◆ OnViewClosed()
| HRESULT OnViewClosed |
( |
[in] int | closedViewId | ) |
|