windows::Win32::UI::Shell

Trait IShellBrowser_Impl

pub trait IShellBrowser_Impl: IOleWindow_Impl {
Show 13 methods // Required methods fn InsertMenusSB( &self, hmenushared: HMENU, lpmenuwidths: *mut OLEMENUGROUPWIDTHS, ) -> Result<()>; fn SetMenuSB( &self, hmenushared: HMENU, holemenures: isize, hwndactiveobject: HWND, ) -> Result<()>; fn RemoveMenusSB(&self, hmenushared: HMENU) -> Result<()>; fn SetStatusTextSB(&self, pszstatustext: &PCWSTR) -> Result<()>; fn EnableModelessSB(&self, fenable: BOOL) -> Result<()>; fn TranslateAcceleratorSB(&self, pmsg: *const MSG, wid: u16) -> Result<()>; fn BrowseObject(&self, pidl: *const ITEMIDLIST, wflags: u32) -> Result<()>; fn GetViewStateStream(&self, grfmode: u32) -> Result<IStream>; fn GetControlWindow(&self, id: u32) -> Result<HWND>; fn SendControlMsg( &self, id: u32, umsg: u32, wparam: WPARAM, lparam: LPARAM, pret: *mut LRESULT, ) -> Result<()>; fn QueryActiveShellView(&self) -> Result<IShellView>; fn OnViewWindowActive(&self, pshv: Ref<'_, IShellView>) -> Result<()>; fn SetToolbarItems( &self, lpbuttons: *const TBBUTTON, nbuttons: u32, uflags: u32, ) -> Result<()>;
}

Required Methods§

fn InsertMenusSB( &self, hmenushared: HMENU, lpmenuwidths: *mut OLEMENUGROUPWIDTHS, ) -> Result<()>

fn SetMenuSB( &self, hmenushared: HMENU, holemenures: isize, hwndactiveobject: HWND, ) -> Result<()>

fn RemoveMenusSB(&self, hmenushared: HMENU) -> Result<()>

fn SetStatusTextSB(&self, pszstatustext: &PCWSTR) -> Result<()>

fn EnableModelessSB(&self, fenable: BOOL) -> Result<()>

fn TranslateAcceleratorSB(&self, pmsg: *const MSG, wid: u16) -> Result<()>

fn BrowseObject(&self, pidl: *const ITEMIDLIST, wflags: u32) -> Result<()>

fn GetViewStateStream(&self, grfmode: u32) -> Result<IStream>

fn GetControlWindow(&self, id: u32) -> Result<HWND>

fn SendControlMsg( &self, id: u32, umsg: u32, wparam: WPARAM, lparam: LPARAM, pret: *mut LRESULT, ) -> Result<()>

fn QueryActiveShellView(&self) -> Result<IShellView>

fn OnViewWindowActive(&self, pshv: Ref<'_, IShellView>) -> Result<()>

fn SetToolbarItems( &self, lpbuttons: *const TBBUTTON, nbuttons: u32, uflags: u32, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§