Trait windows::Win32::System::Mmc::IToolbar_Impl
pub trait IToolbar_Impl: Sized {
// Required methods
fn AddBitmap(
&self,
nimages: i32,
hbmp: HBITMAP,
cxsize: i32,
cysize: i32,
crmask: COLORREF
) -> Result<()>;
fn AddButtons(
&self,
nbuttons: i32,
lpbuttons: *const MMCBUTTON
) -> Result<()>;
fn InsertButton(
&self,
nindex: i32,
lpbutton: *const MMCBUTTON
) -> Result<()>;
fn DeleteButton(&self, nindex: i32) -> Result<()>;
fn GetButtonState(
&self,
idcommand: i32,
nstate: MMC_BUTTON_STATE
) -> Result<BOOL>;
fn SetButtonState(
&self,
idcommand: i32,
nstate: MMC_BUTTON_STATE,
bstate: BOOL
) -> Result<()>;
}
Required Methods§
fn AddBitmap( &self, nimages: i32, hbmp: HBITMAP, cxsize: i32, cysize: i32, crmask: COLORREF ) -> Result<()>
fn AddButtons(&self, nbuttons: i32, lpbuttons: *const MMCBUTTON) -> Result<()>
fn InsertButton(&self, nindex: i32, lpbutton: *const MMCBUTTON) -> Result<()>
fn DeleteButton(&self, nindex: i32) -> Result<()>
fn GetButtonState( &self, idcommand: i32, nstate: MMC_BUTTON_STATE ) -> Result<BOOL>
fn SetButtonState( &self, idcommand: i32, nstate: MMC_BUTTON_STATE, bstate: BOOL ) -> Result<()>
Object Safety§
This trait is not object safe.