Microsoft Windows CE 3.0  

CBaseControlWindow::GetWindowPosition

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.

Retrieves the current coordinates for the window.

HRESULT GetWindowPosition(
long *
pLeft
,
long *
pTop
,
long *
pWidth
,
long *
pHeight
);

Parameters

pLeft
Left coordinate, in screen coordinates.
pTop
Top coordinate, in screen coordinates.
pWidth
Window width, in screen coordinates.
pHeight
Window height, in screen coordinates.

Return Values

Returns an HRESULTvalue.