LVM_GETORIGIN

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.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: ListView_GetOrigin

Syntax

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

Parameters

lpptOrg

Long pointer to a POINT structure that receives the view origin

Return Values

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