Expand Minimize

ListView_GetOrigin macro

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

Syntax


BOOL ListView_GetOrigin(
  HWND hwnd,
  LPPOINT lpptOrg
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

lpptOrg

Type: LPPOINT

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

Return value

Returns TRUE if successful, or FALSE if the current view is list or report view.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft