ホーム › System.Mmc › _AppEvents
_AppEvents
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 12
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 7 | HRESULT OnQuit(_Application* Application) |
| 8 | HRESULT OnDocumentOpen(Document* Document, BOOL New) |
| 9 | HRESULT OnDocumentClose(Document* Document) |
| 10 | HRESULT OnSnapInAdded(Document* Document, SnapIn* SnapIn) |
| 11 | HRESULT OnSnapInRemoved(Document* Document, SnapIn* SnapIn) |
| 12 | HRESULT OnNewView(View* View) |
| 13 | HRESULT OnViewClose(View* View) |
| 14 | HRESULT OnViewChange(View* View, Node* NewOwnerNode) |
| 15 | HRESULT OnSelectionChange(View* View, Nodes* NewNodes) |
| 16 | HRESULT OnContextMenuExecuted(MenuItem* MenuItem) |
| 17 | HRESULT OnToolbarButtonClicked() |
| 18 | HRESULT OnListUpdated(View* View) |