pub fn item_has_children(&self, tree_item: &TreeItem) -> Option<bool> {
        use winapi::um::commctrl::{TVM_GETITEMW, TVIF_CHILDREN, TVIF_HANDLE};

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

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

        Some(item.cChildren != 0)
    }
/// Returns `true` if the tree view item has children. Returns `None` if the item is not in the tree view.
Returns `true` if the tree view item has children. Returns `None` if the item is not in the tree view.
Returns ` true ` if the tree view item has children . Returns ` None ` if the item is not in the tree view .
pub fn item_has_children(&self, tree_item: &TreeItem) -> Option<bool> {
        use winapi::um::commctrl::{TVM_GETITEMW, TVIF_CHILDREN, TVIF_HANDLE};
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let mut item: TVITEMW = blank_item();
        item.hItem = tree_item.handle;
        item.mask = TVIF_CHILDREN | TVIF_HANDLE;
        let result = wh::send_message(handle, TVM_GETITEMW, 0, &mut item as *mut TVITEMW as LPARAM);
        if result == 0 {
            return None;
        }
        Some(item.cChildren != 0)
    }
pub fn item_has_children ( & self , tree_item : & TreeItem ) -> Option < bool > { use winapi :: um :: commctrl :: { TVM_GETITEMW , TVIF_CHILDREN , TVIF_HANDLE } ; let handle = check_hwnd ( & self . handle , NOT_BOUND , BAD_HANDLE ) ; let mut item : TVITEMW = blank_item ( ) ; item . hItem = tree_item . handle ; item . mask = TVIF_CHILDREN | TVIF_HANDLE ; let result = wh :: send_message ( handle , TVM_GETITEMW , 0 , & mut item as * mut TVITEMW as LPARAM ) ; if result == 0 { return None ; } Some ( item . cChildren != 0 ) }
Returns `true` if the tree view item has children.
Returns ` true ` if the tree view item has children .
&self
tree_item
&TreeItem