The IsVisible method checks whether the browser window is
currently visible. A return value of TRUE means that the
browser window is being displayed. A return value of FALSE
indicates that the window has been hidden using the Hide method
or the window was closed.
The IsVisible method returns the current value of
the browser controller's IsVisible property. This indicates
whether the browser has been configured to be visible, rather than
determining the visibility of its underlying child window. For example,
if the host window or one of its parent windows is hidden, the browser
may not be visible on the screen even though this function returns a
non-zero value. Applications should not rely on this function to
determine whether the browser is actually visible to the user.
The visibility of the browser control is independent of its enabled
state. A browser can be visible but disabled, preventing the user from
interacting with it using the keyboard or mouse. Similarly, a browser
can be enabled but hidden from view. The IsVisible method determines
whether the browser controller is configured to be visible, while
IsEnabled determines whether the underlying browser window is
enabled. Applications can use the Show method to change the
visibility of the browser and EnableWindow to enable or disable
user interaction.