LVM_GETORIGIN (Compact 2013)
3/28/2014
This message retrieves the current view origin for a list-view control. You can send this message explicitly or by using the ListView_GetOrigin macro.
Syntax
LVM_GETORIGIN wParam = 0;
lParam = (LPARAM)(LPPOINT) lpptOrg;
Parameters
- wParam
Not used.
- lpptOrg
Long pointer to a POINT structure that receives the view origin.
Return Value
TRUE indicates success. FALSE indicates that the current view is list or report view.
Remarks
This message retrieves the current view origin for a list-view control. The view origin is the set of coordinates, relative to the visible area of the list-view control, that correspond to the view coordinates (0,0). You can send this message explicitly or by using the ListView_GetOrigin macro. You should use this message only in icon or small icon view; if you use it in list or report view, it returns an error.
Requirements
Header |
commctrl.h |