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

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -