windows::Win32::UI::Shell

Trait IFileDialogControlEvents_Impl

pub trait IFileDialogControlEvents_Impl: IUnknownImpl {
    // Required methods
    fn OnItemSelected(
        &self,
        pfdc: Ref<'_, IFileDialogCustomize>,
        dwidctl: u32,
        dwiditem: u32,
    ) -> Result<()>;
    fn OnButtonClicked(
        &self,
        pfdc: Ref<'_, IFileDialogCustomize>,
        dwidctl: u32,
    ) -> Result<()>;
    fn OnCheckButtonToggled(
        &self,
        pfdc: Ref<'_, IFileDialogCustomize>,
        dwidctl: u32,
        bchecked: BOOL,
    ) -> Result<()>;
    fn OnControlActivating(
        &self,
        pfdc: Ref<'_, IFileDialogCustomize>,
        dwidctl: u32,
    ) -> Result<()>;
}

Required Methods§

fn OnItemSelected( &self, pfdc: Ref<'_, IFileDialogCustomize>, dwidctl: u32, dwiditem: u32, ) -> Result<()>

fn OnButtonClicked( &self, pfdc: Ref<'_, IFileDialogCustomize>, dwidctl: u32, ) -> Result<()>

fn OnCheckButtonToggled( &self, pfdc: Ref<'_, IFileDialogCustomize>, dwidctl: u32, bchecked: BOOL, ) -> Result<()>

fn OnControlActivating( &self, pfdc: Ref<'_, IFileDialogCustomize>, dwidctl: 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§