Partager via


CBaseWindow::SetRealize

 
Microsoft DirectShow 9.0

CBaseWindow::SetRealize

The SetRealize method specifies whether the window realizes palettes.

Syntax

  void SetRealize(
    BOOL bRealize
);

Parameters

bRealize

Boolean value that specifies whether to realize palettes. If TRUE, the CBaseWindow::SetPalette method realizes palettes.

Remarks

By default, the SetPalette method realizes the specified palette. Call this method to change the default behavior, so that palettes are selected but not realized. This method sets the CBaseWindow::m_bNoRealize member variable.

Requirements

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

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

See Also