Freigeben über


CBaseControlWindow::IsAutoShowEnabled

 
Microsoft DirectShow 9.0

CBaseControlWindow::IsAutoShowEnabled

The IsAutoShowEnabled method retrieves information about whether the video window automatically appears when the rendering filter pauses or runs.

Syntax

  BOOL IsAutoShowEnabled(void);

Return Value

Returns TRUE if the m_bAutoShow member is set to –1 or FALSE if it is set to 0.

Remarks

If the m_bAutoShow member is set to –1 on a video window that is hidden, the window becomes visible when the filter pauses or runs. If this member is set to 0, the window will appear only if you use the CBaseControlWindow::put_Visible or CBaseControlWindow::put_WindowState member function with the appropriate parameters.

This member function retrieves the m_bAutoShow member setting and has the same result as using the IVideoWindow::get_AutoShow method.

Requirements

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

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

See Also