Microsoft Windows CE 3.0  

CBaseControlWindow::SetWindowPosition

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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 HRESULTvalue.