pub fn check_state(&self) -> CheckBoxState {
        use winapi::um::winuser::{BM_GETCHECK, BST_CHECKED, BST_INDETERMINATE, BST_UNCHECKED};

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

        match wh::send_message(handle, BM_GETCHECK, 0, 0) as usize {
            BST_UNCHECKED => CheckBoxState::Unchecked,
            BST_CHECKED => CheckBoxState::Checked,
            BST_INDETERMINATE => CheckBoxState::Indeterminate,
            _ => unreachable!()
        }
    }
/// Return the check state of the check box
Return the check state of the check box
Return the check state of the check box
pub fn check_state(&self) -> CheckBoxState {
        use winapi::um::winuser::{BM_GETCHECK, BST_CHECKED, BST_INDETERMINATE, BST_UNCHECKED};
        let handle = check_hwnd(&self.handle, NOT_BOUND, BAD_HANDLE);
        match wh::send_message(handle, BM_GETCHECK, 0, 0) as usize {
            BST_UNCHECKED => CheckBoxState::Unchecked,
            BST_CHECKED => CheckBoxState::Checked,
            BST_INDETERMINATE => CheckBoxState::Indeterminate,
            _ => unreachable!()
        }
    }
pub fn check_state ( & self ) -> CheckBoxState { use winapi :: um :: winuser :: { BM_GETCHECK , BST_CHECKED , BST_INDETERMINATE , BST_UNCHECKED } ; let handle = check_hwnd ( & self . handle , NOT_BOUND , BAD_HANDLE ) ; match wh :: send_message ( handle , BM_GETCHECK , 0 , 0 ) as usize { BST_UNCHECKED => CheckBoxState :: Unchecked , BST_CHECKED => CheckBoxState :: Checked , BST_INDETERMINATE => CheckBoxState :: Indeterminate , _ => unreachable ! ( ) } }
Return the check state of the check box
Return the check state of the check box
&self