This method determines the minimum column width necessary to display all of a specified string.
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 |
int GetStringWidth( LPCTSTR lpsz ) const;
CListCtrl::GetColumnWidth, CListCtrl::SetColumnWidth