ホーム › UI.Controls.RichEdit › ITextDocument2Old
ITextDocument2Old
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 24
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| vtbl | メソッド |
|---|---|
| 26 | HRESULT AttachMsgFilter(IUnknown* pFilter) |
| 27 | HRESULT SetEffectColor(INT Index, COLORREF cr) |
| 28 | HRESULT GetEffectColor(INT Index, COLORREF* pcr) |
| 29 | HRESULT GetCaretType(INT* pCaretType) |
| 30 | HRESULT SetCaretType(INT CaretType) |
| 31 | HRESULT GetImmContext(LONGLONG* pContext) |
| 32 | HRESULT ReleaseImmContext(LONGLONG Context) |
| 33 | HRESULT GetPreferredFont(INT cp, INT CharRep, INT Option, INT CharRepCur, INT curFontSize, LPWSTR* pbstr, INT* pPitchAndFamily, INT* pNewFontSize) |
| 34 | HRESULT GetNotificationMode(INT* pMode) |
| 35 | HRESULT SetNotificationMode(INT Mode) |
| 36 | HRESULT GetClientRect(INT Type, INT* pLeft, INT* pTop, INT* pRight, INT* pBottom) |
| 37 | HRESULT GetSelection2(ITextSelection** ppSel) |
| 38 | HRESULT GetWindow(INT* phWnd) |
| 39 | HRESULT GetFEFlags(INT* pFlags) |
| 40 | HRESULT UpdateWindow() |
| 41 | HRESULT CheckTextLimit(INT cch, INT* pcch) |
| 42 | HRESULT IMEInProgress(INT Value) |
| 43 | HRESULT SysBeep() |
| 44 | HRESULT Update(INT Mode) |
| 45 | HRESULT Notify(INT Notify) |
| 46 | HRESULT GetDocumentFont(ITextFont** ppITextFont) |
| 47 | HRESULT GetDocumentPara(ITextPara** ppITextPara) |
| 48 | HRESULT GetCallManager(IUnknown** ppVoid) |
| 49 | HRESULT ReleaseCallManager(IUnknown* pVoid) |