Function windows_win::raw::window::is_visible

source ·
pub fn is_visible(window: HWND) -> bool
Expand description

Determines if window is visible.

#Note: The visibility state of a window is indicated by the WS_VISIBLE style bit.

When WS_VISIBLE is set, the window is displayed and subsequent drawing into it is displayed as long as the window has the WS_VISIBLE style.

Parameters

  • window - A handle to the window to be tested.

Returns

  • true - If window is visible.
  • false - Otherwise.