pub fn icon(&self) -> Option<Icon> {
        use winapi::um::winuser::WM_GETICON;
        use winapi::um::winnt::HANDLE;

        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let handle = wh::send_message(handle, WM_GETICON, 0, 0);
        if handle == 0 {
            None
        } else {
            Some(Icon { handle: handle as HANDLE, owned: false })
        }
    }
/// Return the icon of the window
Return the icon of the window
Return the icon of the window
pub fn icon(&self) -> Option<Icon> {
        use winapi::um::winuser::WM_GETICON;
        use winapi::um::winnt::HANDLE;
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let handle = wh::send_message(handle, WM_GETICON, 0, 0);
        if handle == 0 {
            None
        } else {
            Some(Icon { handle: handle as HANDLE, owned: false })
        }
    }
pub fn icon ( & self ) -> Option < Icon > { use winapi :: um :: winuser :: WM_GETICON ; use winapi :: um :: winnt :: HANDLE ; let handle = check_hwnd ( & self . handle , NOT_BOUND , BAD_HANDLE ) ; let handle = wh :: send_message ( handle , WM_GETICON , 0 , 0 ) ; if handle == 0 { None } else { Some ( Icon { handle : handle as HANDLE , owned : false } ) } }
Return the icon of the window
Return the icon of the window
&self