is_window_visible


bool is_window_visible(handle window)

This function determines if the visibility bit of a window is set.

Parameters

handle window

The handle of the window whose visibility is being determined.

Return

bool

true The window is visible.
false The window is invisible.

Notes

This function checks the window style bit style::Visible. If the style bit is set but its parent style bit is clear, false is returned.

This function determines only whether the visibility style bit of a window is set - not whether the window is visible on the screen. Even when the visibility style bit of a window is set, it may be obscured by other windows.