LVM_GETVIEW message

Retrieves the current view of a list-view control.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns a DWORD that specifies the current view.

Remarks

Following are the values for views.

  • LV_VIEW_DETAILS
  • LV_VIEW_ICON
  • LV_VIEW_LIST
  • LV_VIEW_SMALLICON
  • LV_VIEW_TILE

Note

To use this message, you must provide a manifest specifying Comclt32.dll version 6.0. For more information on manifests, see Enabling Visual Styles.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h