Бележка
Достъпът до тази страница изисква удостоверяване. Можете да опитате да влезете или да промените директориите.
Достъпът до тази страница изисква удостоверяване. Можете да опитате да промените директориите.
Gets the position of a list-view item. You can use this macro or explicitly send the LVM_GETITEMPOSITION message.
Syntax
BOOL ListView_GetItemPosition(
HWND hwndLV,
int i,
POINT *ppt
);
Parameters
hwndLV
Type: HWND
A handle to the list-view control.
i
Type: int
The index of the list-view item.
ppt
Type: POINT*
A pointer to a POINT structure that receives the position of the item's upper-left corner, in view coordinates.
Return value
Type: BOOL
Returns TRUE if successful, or FALSE otherwise.
Requirements
| 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 |