windows::Win32::System::Ole

Trait IOleInPlaceFrame_Impl

pub trait IOleInPlaceFrame_Impl: IOleInPlaceUIWindow_Impl {
    // Required methods
    fn InsertMenus(
        &self,
        hmenushared: HMENU,
        lpmenuwidths: *mut OLEMENUGROUPWIDTHS,
    ) -> Result<()>;
    fn SetMenu(
        &self,
        hmenushared: HMENU,
        holemenu: isize,
        hwndactiveobject: HWND,
    ) -> Result<()>;
    fn RemoveMenus(&self, hmenushared: HMENU) -> Result<()>;
    fn SetStatusText(&self, pszstatustext: &PCWSTR) -> Result<()>;
    fn EnableModeless(&self, fenable: BOOL) -> Result<()>;
    fn TranslateAccelerator(&self, lpmsg: *const MSG, wid: u16) -> Result<()>;
}

Required Methods§

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

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

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

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

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

fn TranslateAccelerator(&self, lpmsg: *const MSG, wid: u16) -> 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§