pub fn unregister<W: Into<ControlHandle>>(&self, owner: W) {
        use winapi::um::commctrl::{TTM_DELTOOLW, TTTOOLINFOW, TTF_IDISHWND, TTF_SUBCLASS};
        use winapi::shared::{basetsd::UINT_PTR, windef::RECT};

        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let owner = owner.into();

        let owner_handle = {
            if owner.blank() { panic!("{}", NOT_BOUND); }
            owner.hwnd().expect(BAD_HANDLE)
        };

        let tool = TTTOOLINFOW {
            cbSize: mem::size_of::<TTTOOLINFOW>() as UINT,
            uFlags: TTF_IDISHWND | TTF_SUBCLASS,
            hwnd: owner_handle,
            uId: owner_handle as UINT_PTR,
            rect: RECT { left: 0, top: 0, right: 0, bottom: 0 },
            hinst: ptr::null_mut(),
            lpszText: ptr::null_mut(),
            lParam: 0,
            lpReserved: ptr::null_mut()
        };

        let tool_ptr = &tool as *const TTTOOLINFOW;
        wh::send_message(handle, TTM_DELTOOLW, 0, tool_ptr as LPARAM);   
    }
/// Remove the tooltip from a control
Remove the tooltip from a control
Remove the tooltip from a control
pub fn unregister<W: Into<ControlHandle>>(&self, owner: W) {
        use winapi::um::commctrl::{TTM_DELTOOLW, TTTOOLINFOW, TTF_IDISHWND, TTF_SUBCLASS};
        use winapi::shared::{basetsd::UINT_PTR, windef::RECT};
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let owner = owner.into();
        let owner_handle = {
            if owner.blank() { panic!("{}", NOT_BOUND); }
            owner.hwnd().expect(BAD_HANDLE)
        };
        let tool = TTTOOLINFOW {
            cbSize: mem::size_of::<TTTOOLINFOW>() as UINT,
            uFlags: TTF_IDISHWND | TTF_SUBCLASS,
            hwnd: owner_handle,
            uId: owner_handle as UINT_PTR,
            rect: RECT { left: 0, top: 0, right: 0, bottom: 0 },
            hinst: ptr::null_mut(),
            lpszText: ptr::null_mut(),
            lParam: 0,
            lpReserved: ptr::null_mut()
        };
        let tool_ptr = &tool as *const TTTOOLINFOW;
        wh::send_message(handle, TTM_DELTOOLW, 0, tool_ptr as LPARAM);   
    }
pub fn unregister < W : Into < ControlHandle > > ( & self , owner : W ) { use winapi :: um :: commctrl :: { TTM_DELTOOLW , TTTOOLINFOW , TTF_IDISHWND , TTF_SUBCLASS } ; use winapi :: shared :: { basetsd :: UINT_PTR , windef :: RECT } ; let handle = check_hwnd ( & self . handle , NOT_BOUND , BAD_HANDLE ) ; let owner = owner . into ( ) ; let owner_handle = { if owner . blank ( ) { panic ! ( " " NOT_BOUND ) ; } owner . hwnd ( ) . expect ( BAD_HANDLE ) } ; let tool = TTTOOLINFOW { cbSize : mem :: size_of :: < TTTOOLINFOW > ( ) as UINT , uFlags : TTF_IDISHWND | TTF_SUBCLASS , hwnd : owner_handle , uId : owner_handle as UINT_PTR , rect : RECT { left : 0 , top : 0 , right : 0 , bottom : 0 } , hinst : ptr :: null_mut ( ) , lpszText : ptr :: null_mut ( ) , lParam : 0 , lpReserved : ptr :: null_mut ( ) } ; let tool_ptr = & tool as * const TTTOOLINFOW ; wh :: send_message ( handle , TTM_DELTOOLW , 0 , tool_ptr as LPARAM ) ; }
Remove the tooltip from a control
Remove the tooltip from a control
&self
owner
W