Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Controls
Control Library
List View
Structures
 LVGROUPMETRICS Structure
LVGROUPMETRICS Structure

Contains information about the display of groups in a list-view control.

Syntax

typedef struct LVGROUPMETRICS {
    UINT cbSize;
    UINT mask;
    UINT Left;
    UINT Top;
    UINT Right;
    UINT Bottom;
    COLORREF crLeft;
    COLORREF crTop;
    COLORREF crRight;
    COLORREF crBottom;
    COLORREF crHeader;
    COLORREF crFooter;
} LVGROUPMETRICS, *PLVGROUPMETRICS;

Members

cbSize
Size of the LVGROUPMETRICS structure.
mask
Flags that specify which members contain or are to receive valid data. Can be one or more of the following values.
LVGMF_BORDERCOLOR
Not implemented.
LVGMF_BORDERSIZE
The Left, Top, Right, and Bottom members are valid.
LVGMF_NONE
No members are valid.
LVGMF_TEXTCOLOR
Not implemented.
Left
Specifies the width of the left border in icon, small icon, or tile view.
Top
Specifies the width of the top border in all group views.
Right
Specifies the width of the right border in icon, small icon, or tile view.
Bottom
Specifies the width of the bottom border in all group views.
crLeft
Specifies the color of the left border. Not implemented.
crTop
Specifies the color of the top border. Not implemented.
crRight
Specifies the color of the right border. Not implemented.
crBottom
Specifies the color of the bottom border. Not implemented.
crHeader
Specifies the color of the header text. Not implemented.
crFooter
Specifies the color of the footer text. Not implemented.

Remarks

The width of a border determines the margins of the area within which items are placed. The top border is highlighted when the user moves the cursor over it, and when the user clicks on this border in a list that allows multiple selection, all items in the group are selected.

Structure Information

HeaderCommctrl.h
Minimum operating systems Windows XP

See Also

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker