Trait windows::Win32::UI::Controls::IImageList_Impl

pub trait IImageList_Impl: Sized {
Show 29 methods // Required methods fn Add(&self, hbmimage: HBITMAP, hbmmask: HBITMAP) -> Result<i32>; fn ReplaceIcon(&self, i: i32, hicon: HICON) -> Result<i32>; fn SetOverlayImage(&self, iimage: i32, ioverlay: i32) -> Result<()>; fn Replace(&self, i: i32, hbmimage: HBITMAP, hbmmask: HBITMAP) -> Result<()>; fn AddMasked(&self, hbmimage: HBITMAP, crmask: COLORREF) -> Result<i32>; fn Draw(&self, pimldp: *const IMAGELISTDRAWPARAMS) -> Result<()>; fn Remove(&self, i: i32) -> Result<()>; fn GetIcon(&self, i: i32, flags: u32) -> Result<HICON>; fn GetImageInfo(&self, i: i32, pimageinfo: *mut IMAGEINFO) -> Result<()>; fn Copy( &self, idst: i32, punksrc: Option<&IUnknown>, isrc: i32, uflags: u32, ) -> Result<()>; fn Merge( &self, i1: i32, punk2: Option<&IUnknown>, i2: i32, dx: i32, dy: i32, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>; fn Clone(&self, riid: *const GUID, ppv: *mut *mut c_void) -> Result<()>; fn GetImageRect(&self, i: i32) -> Result<RECT>; fn GetIconSize(&self, cx: *mut i32, cy: *mut i32) -> Result<()>; fn SetIconSize(&self, cx: i32, cy: i32) -> Result<()>; fn GetImageCount(&self) -> Result<i32>; fn SetImageCount(&self, unewcount: u32) -> Result<()>; fn SetBkColor(&self, clrbk: COLORREF) -> Result<COLORREF>; fn GetBkColor(&self) -> Result<COLORREF>; fn BeginDrag( &self, itrack: i32, dxhotspot: i32, dyhotspot: i32, ) -> Result<()>; fn EndDrag(&self) -> Result<()>; fn DragEnter(&self, hwndlock: HWND, x: i32, y: i32) -> Result<()>; fn DragLeave(&self, hwndlock: HWND) -> Result<()>; fn DragMove(&self, x: i32, y: i32) -> Result<()>; fn SetDragCursorImage( &self, punk: Option<&IUnknown>, idrag: i32, dxhotspot: i32, dyhotspot: i32, ) -> Result<()>; fn DragShowNolock(&self, fshow: BOOL) -> Result<()>; fn GetDragImage( &self, ppt: *mut POINT, ppthotspot: *mut POINT, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>; fn GetItemFlags(&self, i: i32) -> Result<IMAGE_LIST_ITEM_FLAGS>; fn GetOverlayImage(&self, ioverlay: i32) -> Result<i32>;
}

Required Methods§

fn Add(&self, hbmimage: HBITMAP, hbmmask: HBITMAP) -> Result<i32>

fn ReplaceIcon(&self, i: i32, hicon: HICON) -> Result<i32>

fn SetOverlayImage(&self, iimage: i32, ioverlay: i32) -> Result<()>

fn Replace(&self, i: i32, hbmimage: HBITMAP, hbmmask: HBITMAP) -> Result<()>

fn AddMasked(&self, hbmimage: HBITMAP, crmask: COLORREF) -> Result<i32>

fn Draw(&self, pimldp: *const IMAGELISTDRAWPARAMS) -> Result<()>

fn Remove(&self, i: i32) -> Result<()>

fn GetIcon(&self, i: i32, flags: u32) -> Result<HICON>

fn GetImageInfo(&self, i: i32, pimageinfo: *mut IMAGEINFO) -> Result<()>

fn Copy( &self, idst: i32, punksrc: Option<&IUnknown>, isrc: i32, uflags: u32, ) -> Result<()>

fn Merge( &self, i1: i32, punk2: Option<&IUnknown>, i2: i32, dx: i32, dy: i32, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>

fn Clone(&self, riid: *const GUID, ppv: *mut *mut c_void) -> Result<()>

fn GetImageRect(&self, i: i32) -> Result<RECT>

fn GetIconSize(&self, cx: *mut i32, cy: *mut i32) -> Result<()>

fn SetIconSize(&self, cx: i32, cy: i32) -> Result<()>

fn GetImageCount(&self) -> Result<i32>

fn SetImageCount(&self, unewcount: u32) -> Result<()>

fn SetBkColor(&self, clrbk: COLORREF) -> Result<COLORREF>

fn GetBkColor(&self) -> Result<COLORREF>

fn BeginDrag(&self, itrack: i32, dxhotspot: i32, dyhotspot: i32) -> Result<()>

fn EndDrag(&self) -> Result<()>

fn DragEnter(&self, hwndlock: HWND, x: i32, y: i32) -> Result<()>

fn DragLeave(&self, hwndlock: HWND) -> Result<()>

fn DragMove(&self, x: i32, y: i32) -> Result<()>

fn SetDragCursorImage( &self, punk: Option<&IUnknown>, idrag: i32, dxhotspot: i32, dyhotspot: i32, ) -> Result<()>

fn DragShowNolock(&self, fshow: BOOL) -> Result<()>

fn GetDragImage( &self, ppt: *mut POINT, ppthotspot: *mut POINT, riid: *const GUID, ppv: *mut *mut c_void, ) -> Result<()>

fn GetItemFlags(&self, i: i32) -> Result<IMAGE_LIST_ITEM_FLAGS>

fn GetOverlayImage(&self, ioverlay: i32) -> Result<i32>

Object Safety§

This trait is not object safe.

Implementors§