unsafe extern "system" fn toggle_children_tabs(handle: HWND, params: LPARAM) -> BOOL {
    use winapi::um::winuser::GWL_USERDATA;
    
    let &(parent, index): &(HWND, i32) = mem::transmute(params);
    if wh::get_window_parent(handle) == parent {
        let tab_index = wh::get_window_long(handle, GWL_USERDATA) as i32;
        let visible = tab_index == index + 1;
        wh::set_window_visibility(handle, visible);
    }

    1
}
/// Toggle the visibility of the active and inactive tab.
Toggle the visibility of the active and inactive tab.
Toggle the visibility of the active and inactive tab .
unsafe extern "system" fn toggle_children_tabs(handle: HWND, params: LPARAM) -> BOOL {
    use winapi::um::winuser::GWL_USERDATA;
    let &(parent, index): &(HWND, i32) = mem::transmute(params);
    if wh::get_window_parent(handle) == parent {
        let tab_index = wh::get_window_long(handle, GWL_USERDATA) as i32;
        let visible = tab_index == index + 1;
        wh::set_window_visibility(handle, visible);
    }
    1
}
unsafe extern " " fn toggle_children_tabs ( handle : HWND , params : LPARAM ) -> BOOL { use winapi :: um :: winuser :: GWL_USERDATA ; let & ( parent , index ) : & ( HWND , i32 ) = mem :: transmute ( params ) ; if wh :: get_window_parent ( handle ) == parent { let tab_index = wh :: get_window_long ( handle , GWL_USERDATA ) as i32 ; let visible = tab_index == index + 1 ; wh :: set_window_visibility ( handle , visible ) ; } 1 }
Toggle the visibility of the active and inactive tab.
Toggle the visibility of the active and inactive tab .
handle
HWND
params
LPARAM