IVsWindowFrame::IsVisible Method ()

 

Determines whether or not the window is visible.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int IsVisible()

Return Value

Type: System::Int32

Returns S_OK if the window is visible, otherwise returns S_FALSE.

IsVisible checks to see if a window hosted by the Visual Studio IDE can be visible, taking into consideration whether the instance of the Visual Studio IDE is minimized or obscured.

IsVisible differs from the behavior of IsWindowVisible a method that may return true even if the window is completely obscured or minimized. IsVisible differs from IsOnScreen which checks to see if a window has been autohidden by the IDE, or if the window is part of a tabbed display and currently obscured by another tab.

Return to top
Show: