ListView_GetOrigin

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

This macro retrieves the current view origin for a list-view control. You can use this macro or send the LVM_GETORIGIN message explicitly.


BOOL ListView_GetOrigin( 
  HWND hwnd, 
  LPPOINT lpptOrg 
);

hwnd

Handle to the list-view control.

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.

Related message: LVM_GETORIGIN

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

Community Additions

Show: