Share via


CBaseControlWindow::SetWindowPosition (Compact 2013)

3/26/2014

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

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseControlWindow Class