Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
intGetColumnWidth(intnCol**) const;**
Return Value
The width, in pixels, of the column specified by nCol.
Parameters
nCol
Specifies the index of the column whose width is to be retrieved.
Remarks
Retrieves the width of a column in report view or list view.
Example
// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;
// Double the column width of the first column.
int nWidth = pmyListCtrl->GetColumnWidth(0);
pmyListCtrl->SetColumnWidth(0, 2*nWidth);