CBaseControlWindow::SetWindowPosition

Sets the window position on the desktop.

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 Values

Returns an HRESULT value.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 3.0 and later.
Header:

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.