mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[SDK] -rosctrls.h: Add GetItemPosition and SetItemPosition methods in CListView.
svn path=/trunk/; revision=73600
This commit is contained in:
parent
3938ea389a
commit
3dc773f430
1 changed files with 10 additions and 0 deletions
|
@ -214,6 +214,16 @@ public:
|
|||
|
||||
SendMessage(LVM_GETITEMTEXT, iItem, (LPARAM) &itemInfo);
|
||||
}
|
||||
|
||||
BOOL GetItemPosition(int nItem, POINT* pPoint)
|
||||
{
|
||||
return (BOOL)SendMessage(LVM_GETITEMPOSITION, nItem, (LPARAM)pPoint);
|
||||
}
|
||||
|
||||
BOOL SetItemPosition(int nItem, POINT* pPoint)
|
||||
{
|
||||
return (BOOL)SendMessage(LVM_SETITEMPOSITION, nItem, MAKELPARAM(pPoint->x, pPoint->y));
|
||||
}
|
||||
};
|
||||
|
||||
template<typename TItemData = DWORD_PTR>
|
||||
|
|
Loading…
Reference in a new issue