pub fn selected_item_count(&self) -> usize {
        use winapi::um::commctrl::{TVM_GETNEXTITEM, TVGN_NEXTSELECTED};

        let mut count = 0;
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);

        let mut last_handle = wh::send_message(handle, TVM_GETNEXTITEM, TVGN_NEXTSELECTED, 0);
        while last_handle != 0 {
            count += 1;
            last_handle = wh::send_message(handle, TVM_GETNEXTITEM, TVGN_NEXTSELECTED, last_handle as _);
        }

        count
    }
/// Returns the number of selected item in the tree view
Returns the number of selected item in the tree view
Returns the number of selected item in the tree view
pub fn selected_item_count(&self) -> usize {
        use winapi::um::commctrl::{TVM_GETNEXTITEM, TVGN_NEXTSELECTED};
        let mut count = 0;
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let mut last_handle = wh::send_message(handle, TVM_GETNEXTITEM, TVGN_NEXTSELECTED, 0);
        while last_handle != 0 {
            count += 1;
            last_handle = wh::send_message(handle, TVM_GETNEXTITEM, TVGN_NEXTSELECTED, last_handle as _);
        }
        count
    }
pub fn selected_item_count ( & self ) -> usize { use winapi :: um :: commctrl :: { TVM_GETNEXTITEM , TVGN_NEXTSELECTED } ; let mut count = 0 ; let handle = check_hwnd ( & self . handle , NOT_BOUND , BAD_HANDLE ) ; let mut last_handle = wh :: send_message ( handle , TVM_GETNEXTITEM , TVGN_NEXTSELECTED , 0 ) ; while last_handle != 0 { count += 1 ; last_handle = wh :: send_message ( handle , TVM_GETNEXTITEM , TVGN_NEXTSELECTED , last_handle as _ ) ; } count }
Returns the number of selected item in the tree view
Returns the number of selected item in the tree view
&self