Trait windows::Win32::UI::Controls::RichEdit::ITextServices_Impl

pub trait ITextServices_Impl: Sized {
Show 18 methods // Required methods fn TxSendMessage( &self, msg: u32, wparam: WPARAM, lparam: LPARAM, plresult: *mut LRESULT ) -> Result<()>; fn TxDraw( &self, dwdrawaspect: DVASPECT, lindex: i32, pvaspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcdraw: HDC, hictargetdev: HDC, lprcbounds: *mut RECTL, lprcwbounds: *mut RECTL, lprcupdate: *mut RECT, pfncontinue: isize, dwcontinue: u32, lviewid: i32 ) -> Result<()>; fn TxGetHScroll( &self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut BOOL ) -> Result<()>; fn TxGetVScroll( &self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut BOOL ) -> Result<()>; fn OnTxSetCursor( &self, dwdrawaspect: DVASPECT, lindex: i32, pvaspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcdraw: HDC, hictargetdev: HDC, lprcclient: *mut RECT, x: i32, y: i32 ) -> Result<()>; fn TxQueryHitPoint( &self, dwdrawaspect: DVASPECT, lindex: i32, pvaspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcdraw: HDC, hictargetdev: HDC, lprcclient: *mut RECT, x: i32, y: i32, phitresult: *mut u32 ) -> Result<()>; fn OnTxInPlaceActivate(&self, prcclient: *mut RECT) -> Result<()>; fn OnTxInPlaceDeactivate(&self) -> Result<()>; fn OnTxUIActivate(&self) -> Result<()>; fn OnTxUIDeactivate(&self) -> Result<()>; fn TxGetText(&self, pbstrtext: *mut BSTR) -> Result<()>; fn TxSetText(&self, psztext: &PCWSTR) -> Result<()>; fn TxGetCurTargetX(&self, param0: *mut i32) -> Result<()>; fn TxGetBaseLinePos(&self, param0: *mut i32) -> Result<()>; fn TxGetNaturalSize( &self, dwaspect: u32, hdcdraw: HDC, hictargetdev: HDC, ptd: *mut DVTARGETDEVICE, dwmode: u32, psizelextent: *const SIZE, pwidth: *mut i32, pheight: *mut i32 ) -> Result<()>; fn TxGetDropTarget(&self) -> Result<IDropTarget>; fn OnTxPropertyBitsChange(&self, dwmask: u32, dwbits: u32) -> Result<()>; fn TxGetCachedSize( &self, pdwwidth: *mut u32, pdwheight: *mut u32 ) -> Result<()>;
}

Required Methods§

fn TxSendMessage( &self, msg: u32, wparam: WPARAM, lparam: LPARAM, plresult: *mut LRESULT ) -> Result<()>

fn TxDraw( &self, dwdrawaspect: DVASPECT, lindex: i32, pvaspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcdraw: HDC, hictargetdev: HDC, lprcbounds: *mut RECTL, lprcwbounds: *mut RECTL, lprcupdate: *mut RECT, pfncontinue: isize, dwcontinue: u32, lviewid: i32 ) -> Result<()>

fn TxGetHScroll( &self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut BOOL ) -> Result<()>

fn TxGetVScroll( &self, plmin: *mut i32, plmax: *mut i32, plpos: *mut i32, plpage: *mut i32, pfenabled: *mut BOOL ) -> Result<()>

fn OnTxSetCursor( &self, dwdrawaspect: DVASPECT, lindex: i32, pvaspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcdraw: HDC, hictargetdev: HDC, lprcclient: *mut RECT, x: i32, y: i32 ) -> Result<()>

fn TxQueryHitPoint( &self, dwdrawaspect: DVASPECT, lindex: i32, pvaspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcdraw: HDC, hictargetdev: HDC, lprcclient: *mut RECT, x: i32, y: i32, phitresult: *mut u32 ) -> Result<()>

fn OnTxInPlaceActivate(&self, prcclient: *mut RECT) -> Result<()>

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

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

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

fn TxGetText(&self, pbstrtext: *mut BSTR) -> Result<()>

fn TxSetText(&self, psztext: &PCWSTR) -> Result<()>

fn TxGetCurTargetX(&self, param0: *mut i32) -> Result<()>

fn TxGetBaseLinePos(&self, param0: *mut i32) -> Result<()>

fn TxGetNaturalSize( &self, dwaspect: u32, hdcdraw: HDC, hictargetdev: HDC, ptd: *mut DVTARGETDEVICE, dwmode: u32, psizelextent: *const SIZE, pwidth: *mut i32, pheight: *mut i32 ) -> Result<()>

fn TxGetDropTarget(&self) -> Result<IDropTarget>

fn OnTxPropertyBitsChange(&self, dwmask: u32, dwbits: u32) -> Result<()>

fn TxGetCachedSize(&self, pdwwidth: *mut u32, pdwheight: *mut u32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§