UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:commctrl.GetEffectiveClientRect |
GetEffectiveClientRect function (commctrl.h) |
Calculates the dimensions of a rectangle in the client area that contains all the specified controls. |
|
controls\GetEffectiveClientRect.htm |
Controls |
VS|Controls|~\controls\common\functions\geteffectiveclientrect.htm |
12/05/2018 |
GetEffectiveClientRect, GetEffectiveClientRect function [Windows Controls], _win32_GetEffectiveClientRect, _win32_GetEffectiveClientRect_cpp, commctrl/GetEffectiveClientRect, controls.GetEffectiveClientRect, controls._win32_GetEffectiveClientRect |
commctrl.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Comctl32.lib |
Comctl32.dll |
Windows |
19H1 |
|
|
|
|
|
|
Calculates the dimensions of a rectangle in the client area that contains all the specified controls.
Type: HWND
A handle to the window that has the client area to check.
Type: LPRECT
A pointer to a RECT structure that receives the dimensions of the rectangle.
Type: const INT*
A pointer to a null-terminated array of integers that identify controls in the client area. Each control requires a pair of consecutive elements. The first element of the pair must be nonzero and the second element of the pair must be the control identifier. The first pair represents the menu and is ignored. The last element must be zero to identify the end of the array.
If a window in the lprc array is visible, or will be visible when its parent becomes visible, its rectangle is subtracted from the effective client rectangle.