int GetStringWidth( LPCTSTR lpsz ) const;
Return Value
The width, in pixels, of the string pointed to by lpsz.
Parameters
lpsz
Address of a null-terminated string whose width is to be determined.
Remarks
Determines the minimum column width necessary to display all of a given string.
The returned width takes into account the control’s current font and column margins, but not the width of a small icon.
CListCtrl Overview | Class Members | Hierarchy Chart
See Also CListCtrl::GetColumnWidth