Share via


CMFCPropertyGridCtrl::SetGroupNameFullWidth

Specifies whether to display the full width of the category name for a group of properties in the current property grid control.

void SetGroupNameFullWidth(
   BOOL bGroupNameFullWidth = TRUE,
   BOOL bRedraw = TRUE
);

Parameters

  • [in] bGroupNameFullWidth
    TRUE to display the complete width of the category name regardless of the width of the property name column. FALSE to limit the width of the category name to the width of the property name column. The default value is TRUE.

  • [in] bRedraw
    TRUE to update the property grid control immediately; FALSE to update the control when the next redraw event occurs. The default value is TRUE.

Remarks

The property grid control consists of a resizable property name column and a property value column. The end of the name column is also the start of the value column. To resize the columns, drag the border between the columns.

The terms group name and category name are used interchangeably in this method. The category name is displayed on a row that heads a set of related properties and values. This method specifies whether the width of the property name column also specifies the width of the displayed category name.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridCtrl Class

Hierarchy Chart