LVM_GETORIGIN

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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.


LVM_GETORIGIN wParam = 0; 
    lParam = (LPARAM)(LPPOINT) lpptOrg;

wParam

Not used.

lpptOrg

Long pointer to a POINT structure that receives the view origin.

TRUE indicates success. FALSE indicates that the current view is list or report view.

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.

Headercommctrl.h
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: