CBaseControlWindow::SetWindowPosition

 
Microsoft DirectShow 9.0

CBaseControlWindow::SetWindowPosition

The SetWindowPosition method sets the window position on the desktop.

Syntax

  HRESULT SetWindowPosition(
    long Left,
    long Top,
    long Width,
    long Height
);

Parameters

Left

New left coordinate.

Top

New top coordinate.

Width

Width of the window.

Height

Height of the window.

Return Value

Returns an HRESULT value.

Requirements

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

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

See Also