Function window_is_valid

Source
pub fn window_is_valid(handle: ControlHandle) -> bool
Expand description

Check if a window is valid (not destroyed). A closed window might still be valid.

Adapted from [native_windows_gui::win32::base_helper::check_hwnd] used by many methods of [nwg::Window].