Partager via


CBaseControlWindow::GetBorderColour

 
Microsoft DirectShow 9.0

CBaseControlWindow::GetBorderColour

The GetBorderColour method retrieves the current window border color, m_BorderColour.

Syntax

  COLORREF GetBorderColour(void);

Return Value

Returns the color of the border.

Remarks

An application can set a destination rectangle to display the video. This rectangle should be relative to the client area for the window. If this is done (the default is to always paint the entire window), there is an area that surrounds the video; that is, the border. The border color can be set through the CBaseControlWindow::put_BorderColor member function. This property affects the color of the border. Use this member function instead of CBaseControlWindow::get_BorderColor, unless you are calling this externally through the IVideoWindow::get_BorderColor method.

Requirements

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

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

See Also