sorting listview by clicking header
Duane Clark
junkmail at junkmail.com
Sat Mar 2 12:03:40 CST 2002
matty i wrote:
> thanks to all of the great work that has been done to listview, my app
> is finally readable. cudos on the latest patch that fixed up text
> (that was getting truncated), it's correct this time around.
Yea, that was caused by your app resizing the column with
LVSCW_AUTOSIZE_USEHEADER
And according to MS docs:
http://msdn.microsoft.com/library/en-us/shellcc/platform/CommCtls/ListView/Messages/LVM_SETCOLUMNWIDTH.asp
it is supposed to set the column to the width of the header, which is
what the listview used to do (your listview header is invisible, with a
single character). But a little test application run on WinNT showed
that the MS docs are lying :-)
> anyways,
> the one thing missing to get my app working is column sorting (done by
> clicking a header). i have below the output from a
> "trace+listview,trace+header" run of the app, clipped just to the
> click on the header.
I'll be happy to take a look at that in a few days, since I am getting
comfortable around the listview by now.
--
My real email is akamail.com at dclark (or something like that).
More information about the wine-users
mailing list