CListCtrl::GetStringWidth

This method determines the minimum column width necessary to display all of a specified string.

At a Glance

Header file: Afxcmn.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

int GetStringWidth( LPCTSTR lpsz ) const;

See Also

CListCtrl::GetColumnWidth, CListCtrl::SetColumnWidth