Share via


CBaseControlWindow::SetWindowPosition

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment