pub fn item_param(&self, tree_item: &TreeItem) -> Option<isize> {
        use winapi::um::commctrl::{TVM_GETITEMW, TVIF_PARAM, TVIF_HANDLE};

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

        let mut item: TVITEMW = blank_item();
        item.mask = TVIF_HANDLE | TVIF_PARAM;
        item.hItem = tree_item.handle;
        
        let result = wh::send_message(handle, TVM_GETITEMW, 0, &mut item as *mut TVITEMW as LPARAM);
        if result == 0 {
            return None;
        }

        Some(item.lParam)
    }
/// Returns the lParam of the selected item. Return None if the item is not in the tree view.
Returns the lParam of the selected item. Return None if the item is not in the tree view.
Returns the lParam of the selected item . Return None if the item is not in the tree view .
pub fn item_param(&self, tree_item: &TreeItem) -> Option<isize> {
        use winapi::um::commctrl::{TVM_GETITEMW, TVIF_PARAM, TVIF_HANDLE};
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let mut item: TVITEMW = blank_item();
        item.mask = TVIF_HANDLE | TVIF_PARAM;
        item.hItem = tree_item.handle;
        let result = wh::send_message(handle, TVM_GETITEMW, 0, &mut item as *mut TVITEMW as LPARAM);
        if result == 0 {
            return None;
        }
        Some(item.lParam)
    }
pub fn item_param ( & self , tree_item : & TreeItem ) -> Option < isize > { use winapi :: um :: commctrl :: { TVM_GETITEMW , TVIF_PARAM , TVIF_HANDLE } ; let handle = check_hwnd ( & self . handle , NOT_BOUND , BAD_HANDLE ) ; let mut item : TVITEMW = blank_item ( ) ; item . mask = TVIF_HANDLE | TVIF_PARAM ; item . hItem = tree_item . handle ; let result = wh :: send_message ( handle , TVM_GETITEMW , 0 , & mut item as * mut TVITEMW as LPARAM ) ; if result == 0 { return None ; } Some ( item . lParam ) }
Returns the lParam of the selected item.
Returns the lParam of the selected item .
&self
tree_item
&TreeItem