pub fn selection(&self) -> Option<usize> {
        use winapi::um::winuser::{LB_GETCURSEL, LB_ERR};

        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let index = wh::send_message(handle, LB_GETCURSEL , 0, 0);

        if index == LB_ERR { None }
        else { Some(index as usize) }
    }
/// Return the index of the currencty selected item for single value list box.
/// Return `None` if no item is selected.
Return the index of the currencty selected item for single value list box.
Return `None` if no item is selected.
Return the index of the currencty selected item for single value list box . Return ` None ` if no item is selected .
pub fn selection(&self) -> Option<usize> {
        use winapi::um::winuser::{LB_GETCURSEL, LB_ERR};
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        let index = wh::send_message(handle, LB_GETCURSEL , 0, 0);
        if index == LB_ERR { None }
        else { Some(index as usize) }
    }
pub fn selection ( & self ) -> Option < usize > { use winapi :: um :: winuser :: { LB_GETCURSEL , LB_ERR } ; let handle = check_hwnd ( & self . handle , NOT_BOUND , BAD_HANDLE ) ; let index = wh :: send_message ( handle , LB_GETCURSEL , 0 , 0 ) ; if index == LB_ERR { None } else { Some ( index as usize ) } }
Return the index of the currencty selected item for single value list box.
Return the index of the currencty selected item for single value list box .
&self