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 Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: