Share via


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.

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 Values

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

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

ListView_GetOrigin | POINT | List-View Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.