Partager via


CBaseWindow::DoSetWindowForeground

 
Microsoft DirectShow 9.0

CBaseWindow::DoSetWindowForeground

The DoSetWindowForeground method brings the window to the foreground.

Syntax

  void DoSetWindowForeground(
    BOOL bFocus
);

Parameters

bFocus

Boolean value that specifies whether to give the window focus. If the value is TRUE, the window gains focus.

Requirements

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

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

See Also