pub fn add_bitmap(&self, bitmap: &Bitmap) -> i32 {
        if self.handle.is_null() { panic!("{}", NOT_BOUND); }
        if bitmap.handle.is_null() { panic!("Bitmap was not initialized"); }

        unsafe { ImageList_AddMasked(self.handle, bitmap.handle as HBITMAP, 0) }
    }
/// Adds a new bitmap to the image list. Returns the index to the image. Panics if the bitmap was not initialized
Adds a new bitmap to the image list. Returns the index to the image. Panics if the bitmap was not initialized
Adds a new bitmap to the image list . Returns the index to the image . Panics if the bitmap was not initialized
pub fn add_bitmap(&self, bitmap: &Bitmap) -> i32 {
        if self.handle.is_null() { panic!("{}", NOT_BOUND); }
        if bitmap.handle.is_null() { panic!("Bitmap was not initialized"); }
        unsafe { ImageList_AddMasked(self.handle, bitmap.handle as HBITMAP, 0) }
    }
pub fn add_bitmap ( & self , bitmap : & Bitmap ) -> i32 { if self . handle . is_null ( ) { panic ! ( " " NOT_BOUND ) ; } if bitmap . handle . is_null ( ) { panic ! ( " " ) ; } unsafe { ImageList_AddMasked ( self . handle , bitmap . handle as HBITMAP , 0 ) } }
Adds a new bitmap to the image list.
Adds a new bitmap to the image list .
&self
bitmap
&Bitmap