Microsoft DirectX 9.0

CBaseWindow::GetWindowWidth

The GetWindowWidth method retrieves the current width of the window.

Syntax

LONG GetWindowWidth(void);

Return Value

Returns the width of the window, in pixels.

See Also