Trait windows::Win32::UI::Controls::RichEdit::ITextHost_Impl

pub trait ITextHost_Impl: Sized {
Show 39 methods // Required methods fn TxGetDC(&self) -> HDC; fn TxReleaseDC(&self, hdc: HDC) -> i32; fn TxShowScrollBar(&self, fnbar: i32, fshow: BOOL) -> BOOL; fn TxEnableScrollBar( &self, fusbflags: SCROLLBAR_CONSTANTS, fuarrowflags: i32, ) -> BOOL; fn TxSetScrollRange( &self, fnbar: i32, nminpos: i32, nmaxpos: i32, fredraw: BOOL, ) -> BOOL; fn TxSetScrollPos(&self, fnbar: i32, npos: i32, fredraw: BOOL) -> BOOL; fn TxInvalidateRect(&self, prc: *mut RECT, fmode: BOOL); fn TxViewChange(&self, fupdate: BOOL); fn TxCreateCaret(&self, hbmp: HBITMAP, xwidth: i32, yheight: i32) -> BOOL; fn TxShowCaret(&self, fshow: BOOL) -> BOOL; fn TxSetCaretPos(&self, x: i32, y: i32) -> BOOL; fn TxSetTimer(&self, idtimer: u32, utimeout: u32) -> BOOL; fn TxKillTimer(&self, idtimer: u32); fn TxScrollWindowEx( &self, dx: i32, dy: i32, lprcscroll: *mut RECT, lprcclip: *mut RECT, hrgnupdate: HRGN, lprcupdate: *mut RECT, fuscroll: SCROLL_WINDOW_FLAGS, ); fn TxSetCapture(&self, fcapture: BOOL); fn TxSetFocus(&self); fn TxSetCursor(&self, hcur: HCURSOR, ftext: BOOL); fn TxScreenToClient(&self, lppt: *mut POINT) -> BOOL; fn TxClientToScreen(&self, lppt: *mut POINT) -> BOOL; fn TxActivate(&self, ploldstate: *mut i32) -> Result<()>; fn TxDeactivate(&self, lnewstate: i32) -> Result<()>; fn TxGetClientRect(&self, prc: *mut RECT) -> Result<()>; fn TxGetViewInset(&self, prc: *mut RECT) -> Result<()>; fn TxGetCharFormat(&self, ppcf: *const *const CHARFORMATW) -> Result<()>; fn TxGetParaFormat(&self, pppf: *const *const PARAFORMAT) -> Result<()>; fn TxGetSysColor(&self, nindex: SYS_COLOR_INDEX) -> COLORREF; fn TxGetBackStyle(&self, pstyle: *mut TXTBACKSTYLE) -> Result<()>; fn TxGetMaxLength(&self, plength: *mut u32) -> Result<()>; fn TxGetScrollBars(&self, pdwscrollbar: *mut u32) -> Result<()>; fn TxGetPasswordChar(&self) -> Result<i8>; fn TxGetAcceleratorPos(&self, pcp: *mut i32) -> Result<()>; fn TxGetExtent(&self, lpextent: *mut SIZE) -> Result<()>; fn OnTxCharFormatChange(&self, pcf: *const CHARFORMATW) -> Result<()>; fn OnTxParaFormatChange(&self, ppf: *const PARAFORMAT) -> Result<()>; fn TxGetPropertyBits(&self, dwmask: u32, pdwbits: *mut u32) -> Result<()>; fn TxNotify(&self, inotify: u32, pv: *mut c_void) -> Result<()>; fn TxImmGetContext(&self) -> HIMC; fn TxImmReleaseContext(&self, himc: HIMC); fn TxGetSelectionBarWidth(&self, lselbarwidth: *mut i32) -> Result<()>;
}

Required Methods§

fn TxGetDC(&self) -> HDC

fn TxReleaseDC(&self, hdc: HDC) -> i32

fn TxShowScrollBar(&self, fnbar: i32, fshow: BOOL) -> BOOL

fn TxEnableScrollBar( &self, fusbflags: SCROLLBAR_CONSTANTS, fuarrowflags: i32, ) -> BOOL

fn TxSetScrollRange( &self, fnbar: i32, nminpos: i32, nmaxpos: i32, fredraw: BOOL, ) -> BOOL

fn TxSetScrollPos(&self, fnbar: i32, npos: i32, fredraw: BOOL) -> BOOL

fn TxInvalidateRect(&self, prc: *mut RECT, fmode: BOOL)

fn TxViewChange(&self, fupdate: BOOL)

fn TxCreateCaret(&self, hbmp: HBITMAP, xwidth: i32, yheight: i32) -> BOOL

fn TxShowCaret(&self, fshow: BOOL) -> BOOL

fn TxSetCaretPos(&self, x: i32, y: i32) -> BOOL

fn TxSetTimer(&self, idtimer: u32, utimeout: u32) -> BOOL

fn TxKillTimer(&self, idtimer: u32)

fn TxScrollWindowEx( &self, dx: i32, dy: i32, lprcscroll: *mut RECT, lprcclip: *mut RECT, hrgnupdate: HRGN, lprcupdate: *mut RECT, fuscroll: SCROLL_WINDOW_FLAGS, )

fn TxSetCapture(&self, fcapture: BOOL)

fn TxSetFocus(&self)

fn TxSetCursor(&self, hcur: HCURSOR, ftext: BOOL)

fn TxScreenToClient(&self, lppt: *mut POINT) -> BOOL

fn TxClientToScreen(&self, lppt: *mut POINT) -> BOOL

fn TxActivate(&self, ploldstate: *mut i32) -> Result<()>

fn TxDeactivate(&self, lnewstate: i32) -> Result<()>

fn TxGetClientRect(&self, prc: *mut RECT) -> Result<()>

fn TxGetViewInset(&self, prc: *mut RECT) -> Result<()>

fn TxGetCharFormat(&self, ppcf: *const *const CHARFORMATW) -> Result<()>

fn TxGetParaFormat(&self, pppf: *const *const PARAFORMAT) -> Result<()>

fn TxGetSysColor(&self, nindex: SYS_COLOR_INDEX) -> COLORREF

fn TxGetBackStyle(&self, pstyle: *mut TXTBACKSTYLE) -> Result<()>

fn TxGetMaxLength(&self, plength: *mut u32) -> Result<()>

fn TxGetScrollBars(&self, pdwscrollbar: *mut u32) -> Result<()>

fn TxGetPasswordChar(&self) -> Result<i8>

fn TxGetAcceleratorPos(&self, pcp: *mut i32) -> Result<()>

fn TxGetExtent(&self, lpextent: *mut SIZE) -> Result<()>

fn OnTxCharFormatChange(&self, pcf: *const CHARFORMATW) -> Result<()>

fn OnTxParaFormatChange(&self, ppf: *const PARAFORMAT) -> Result<()>

fn TxGetPropertyBits(&self, dwmask: u32, pdwbits: *mut u32) -> Result<()>

fn TxNotify(&self, inotify: u32, pv: *mut c_void) -> Result<()>

fn TxImmGetContext(&self) -> HIMC

fn TxImmReleaseContext(&self, himc: HIMC)

fn TxGetSelectionBarWidth(&self, lselbarwidth: *mut i32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§