CListCtrl::GetStringWidth

Call this member function to determine the minimum column width necessary to display all of a given string.

Syntax

int GetStringWidth( LPCTSTR lpsz ) const;

At a Glance

Header File Afxcmn.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CListCtrl Overview, CListCtrl Member Functions, Control Classes, CListCtrl::GetColumnWidth, CListCtrl::SetColumnWidth