Share via


CBaseControlWindow::get_Visible

 
Microsoft DirectShow 9.0

CBaseControlWindow::get_Visible

The get_Visible method retrieves the current window visibility.

Syntax

  HRESULT get_Visible(
    long *pVisible
);

Parameters

pVisible

Pointer to an Automation Boolean flag (0 is off, –1 is on).

Return Value

Returns an HRESULT value.

Remarks

This member function returns –1 if the window has the WS_VISIBLE style; 0 otherwise.

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also