CBaseWindow.GetWindowWidth method

The GetWindowWidth method retrieves the current width of the window.

Syntax

LONG GetWindowWidth();

Parameters

This method has no parameters.

Return value

Returns the width of the window, in pixels.

Requirements

Header
Winutil.h (include Streams.h)
Library
Strmbase.lib (retail builds);
Strmbasd.lib (debug builds)

See also

CBaseWindow Class