Events
19 May, 18 - 23 May, 00
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the bounding rectangle for all or part of an item in the current view. You can use this macro or send the LVM_GETITEMRECT message explicitly.
BOOL ListView_GetItemRect(
[in] HWND hwnd,
[in] int i,
[out] RECT *prc,
[in] int code
);
[in] hwnd
Type: HWND
A handle to the list-view control.
[in] i
Type: int
The index of the list-view item.
[out] prc
Type: RECT*
A pointer to a RECT structure that receives the bounding rectangle.
[in] code
Type: int
The portion of the list-view item from which to retrieve the bounding rectangle. This parameter must be one of the following values:
Type: BOOL
Returns TRUE if successful, or FALSE otherwise.
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | commctrl.h |
Events
19 May, 18 - 23 May, 00
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today