c++ - MFC. Class CListCtrl. How to determine max possible column width in symbols? -


does mfc provides interface getting maximum possible width of column of instance of class clistctrl? if is? thanks.

update: here small code snippet shows how going use value:

lv_item item; item.mask = lvif_text; // state type of info want item.iitem = pos; item.isubitem = col; item.psztext  = itemtext; // request text particular item result in .psztext variable item.cchtextmax = /*here goes maxcolumnwidthinsymbols*///arraylen ( itemtext ); // 2. execute request getitem ( & item );  


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -