Author: gadamopoulos
Date: Thu Jan 26 17:03:35 2017
New Revision: 73600
URL:
http://svn.reactos.org/svn/reactos?rev=73600&view=rev
Log:
[SDK] -rosctrls.h: Add GetItemPosition and SetItemPosition methods in CListView.
Modified:
trunk/reactos/sdk/include/reactos/rosctrls.h
Modified: trunk/reactos/sdk/include/reactos/rosctrls.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/include/reactos/rosctr…
==============================================================================
--- trunk/reactos/sdk/include/reactos/rosctrls.h [iso-8859-1] (original)
+++ trunk/reactos/sdk/include/reactos/rosctrls.h [iso-8859-1] Thu Jan 26 17:03:35 2017
@@ -214,6 +214,16 @@
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>