I have spent an inordinate amount of time fussing with the size of the last column of listviews. I want it to be the exact size left. Too small and there is space; too big and there is a scroll bar.
If you use LVSCW_AUTOSIZE_USEHEADER (-2), the system sizes it for you. (Courtesy of MSDN.)
Nice 8)
Hi,
I am loosing the last column when I specify the width with ,0,LVSCW_AUTOSIZE_USEHEADER
can you show an example please?
Haim
Sorry, my mistake :-[
I found that it works in setcolumnwidth but not in the insertcolumn method of the listview (I am using AURORA)
Thanks for the find.
Haim