Expand Minimize
0 out of 1 rated this helpful - Rate this topic

ListView_SetGroupMetrics macro

Sets information about the display of groups. You can use this macro or send the LVM_SETGROUPMETRICS message explicitly.

Syntax


void ListView_SetGroupMetrics(
  HWND hwnd,
  PLVGROUPMETRICS pGroupMetrics
);

Parameters

hwnd

Type: HWND

A handle to the list-view control.

pGroupMetrics

Type: PLVGROUPMETRICS

A pointer to an LVGROUPMETRICS structure that contains the metrics to set.

Return value

This macro does not return a value.

Remarks

To use ListView_SetGroupMetrics, specify Comctl32.dll version 6 in the manifest. For more information on manifests, see Enabling Visual Styles.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Send comments about this topic to Microsoft

Build date: 10/27/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.