Trait windows::Win32::UI::Controls::RichEdit::ITextDocument2Old_Impl

pub trait ITextDocument2Old_Impl: Sized + ITextDocument_Impl {
Show 24 methods // Required methods fn AttachMsgFilter(&self, pfilter: Option<&IUnknown>) -> Result<()>; fn SetEffectColor(&self, index: i32, cr: COLORREF) -> Result<()>; fn GetEffectColor(&self, index: i32) -> Result<COLORREF>; fn GetCaretType(&self) -> Result<i32>; fn SetCaretType(&self, carettype: i32) -> Result<()>; fn GetImmContext(&self) -> Result<i64>; fn ReleaseImmContext(&self, context: i64) -> Result<()>; fn GetPreferredFont( &self, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32 ) -> Result<()>; fn GetNotificationMode(&self) -> Result<i32>; fn SetNotificationMode(&self, mode: i32) -> Result<()>; fn GetClientRect( &self, type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32 ) -> Result<()>; fn GetSelection2(&self) -> Result<ITextSelection>; fn GetWindow(&self) -> Result<i32>; fn GetFEFlags(&self) -> Result<i32>; fn UpdateWindow(&self) -> Result<()>; fn CheckTextLimit(&self, cch: i32, pcch: *const i32) -> Result<()>; fn IMEInProgress(&self, value: i32) -> Result<()>; fn SysBeep(&self) -> Result<()>; fn Update(&self, mode: i32) -> Result<()>; fn Notify(&self, notify: i32) -> Result<()>; fn GetDocumentFont(&self) -> Result<ITextFont>; fn GetDocumentPara(&self) -> Result<ITextPara>; fn GetCallManager(&self) -> Result<IUnknown>; fn ReleaseCallManager(&self, pvoid: Option<&IUnknown>) -> Result<()>;
}

Required Methods§

fn AttachMsgFilter(&self, pfilter: Option<&IUnknown>) -> Result<()>

fn SetEffectColor(&self, index: i32, cr: COLORREF) -> Result<()>

fn GetEffectColor(&self, index: i32) -> Result<COLORREF>

fn GetCaretType(&self) -> Result<i32>

fn SetCaretType(&self, carettype: i32) -> Result<()>

fn GetImmContext(&self) -> Result<i64>

fn ReleaseImmContext(&self, context: i64) -> Result<()>

fn GetPreferredFont( &self, cp: i32, charrep: i32, option: i32, charrepcur: i32, curfontsize: i32, pbstr: *mut BSTR, ppitchandfamily: *mut i32, pnewfontsize: *mut i32 ) -> Result<()>

fn GetNotificationMode(&self) -> Result<i32>

fn SetNotificationMode(&self, mode: i32) -> Result<()>

fn GetClientRect( &self, type: i32, pleft: *mut i32, ptop: *mut i32, pright: *mut i32, pbottom: *mut i32 ) -> Result<()>

fn GetSelection2(&self) -> Result<ITextSelection>

fn GetWindow(&self) -> Result<i32>

fn GetFEFlags(&self) -> Result<i32>

fn UpdateWindow(&self) -> Result<()>

fn CheckTextLimit(&self, cch: i32, pcch: *const i32) -> Result<()>

fn IMEInProgress(&self, value: i32) -> Result<()>

fn SysBeep(&self) -> Result<()>

fn Update(&self, mode: i32) -> Result<()>

fn Notify(&self, notify: i32) -> Result<()>

fn GetDocumentFont(&self) -> Result<ITextFont>

fn GetDocumentPara(&self) -> Result<ITextPara>

fn GetCallManager(&self) -> Result<IUnknown>

fn ReleaseCallManager(&self, pvoid: Option<&IUnknown>) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§