May 15, 2024, 04:35:02 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


LVSCW_AUTOSIZE_USEHEADER and Listview

Started by Bruce Peaslee, February 05, 2009, 12:46:59 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bruce Peaslee

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.)
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

Ionic Wind Support Team

Ionic Wind Support Team

Haim

Hi,
I am loosing the last column when I specify the width with ,0,LVSCW_AUTOSIZE_USEHEADER
can you show an example please?

Haim

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