pub fn selected_items(&self) -> Vec<TreeItem> {
        use winapi::um::commctrl::{TVM_GETNEXTITEM, TVGN_NEXTSELECTED};

        let mut items = Vec::new();

        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 {
            items.push(TreeItem { handle: last_handle as _ } );
            last_handle = wh::send_message(handle, TVM_GETNEXTITEM, TVGN_NEXTSELECTED, last_handle as _);
        }

        items
    }
/// Returns the selected items in a Treeview
/// If there is no selected items, returns an empty `Vec`.
Returns the selected items in a Treeview
If there is no selected items, returns an empty `Vec`.
Returns the selected items in a Treeview If there is no selected items returns an empty ` Vec ` .
pub fn selected_items(&self) -> Vec<TreeItem> {
        use winapi::um::commctrl::{TVM_GETNEXTITEM, TVGN_NEXTSELECTED};
        let mut items = Vec::new();
        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 {
            items.push(TreeItem { handle: last_handle as _ } );
            last_handle = wh::send_message(handle, TVM_GETNEXTITEM, TVGN_NEXTSELECTED, last_handle as _);
        }
        items
    }
pub fn selected_items ( & self ) -> Vec < TreeItem > { use winapi :: um :: commctrl :: { TVM_GETNEXTITEM , TVGN_NEXTSELECTED } ; let mut items = Vec :: new ( ) ; 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 { items . push ( TreeItem { handle : last_handle as _ } ) ; last_handle = wh :: send_message ( handle , TVM_GETNEXTITEM , TVGN_NEXTSELECTED , last_handle as _ ) ; } items }
Returns the selected items in a Treeview
If there is no selected items, returns an empty `Vec`.
Returns the selected items in a Treeview If there is no selected items returns an empty ` Vec ` .
&self