pub trait ITfLangBarItemBitmapButton_Impl: Sized + ITfLangBarItem_Impl {
    // Required methods
    fn OnClick(
        &self,
        click: TfLBIClick,
        pt: &POINT,
        prcarea: *const RECT,
    ) -> Result<()>;
    fn InitMenu(&self, pmenu: Option<&ITfMenu>) -> Result<()>;
    fn OnMenuSelect(&self, wid: u32) -> Result<()>;
    fn GetPreferredSize(&self, pszdefault: *const SIZE) -> Result<SIZE>;
    fn DrawBitmap(
        &self,
        bmwidth: i32,
        bmheight: i32,
        dwflags: u32,
        phbmp: *mut HBITMAP,
        phbmpmask: *mut HBITMAP,
    ) -> Result<()>;
    fn GetText(&self) -> Result<BSTR>;
}

Required Methods§

fn OnClick( &self, click: TfLBIClick, pt: &POINT, prcarea: *const RECT, ) -> Result<()>

fn InitMenu(&self, pmenu: Option<&ITfMenu>) -> Result<()>

fn OnMenuSelect(&self, wid: u32) -> Result<()>

fn GetPreferredSize(&self, pszdefault: *const SIZE) -> Result<SIZE>

fn DrawBitmap( &self, bmwidth: i32, bmheight: i32, dwflags: u32, phbmp: *mut HBITMAP, phbmpmask: *mut HBITMAP, ) -> Result<()>

fn GetText(&self) -> Result<BSTR>

Object Safety§

This trait is not object safe.

Implementors§