Re: ListView sort problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

On Wed, 11 May 2005 03:52:08 -0700, Al Getz <guest at RapidEuphoria.com>
wrote:

>Hi Pete,
>
>Funny, i cant get mine to sort in Report View at all.
That's what I just said blink)!
(BTW, I'm only attempting report view anyway; what happens in
LVS_[SMALL]ICON & LVS_LIST modes does not concern me)
>Keeps returning all zeros as in your first example.
Yes, have you set the LVIF_PARAM bit in LVITEM_mask?
You probably don't have the code to set LVITEM_lParam either.
If not, don't worry about it, show a bit or patience and, I'll release
a working version in a few days. I think I have all the info I now
need, it was not setting the LVIF_PARAM bit that really stumped me.
>Now that i think about it, what is it that it is trying
>to sort anyway, when the sort sendmessage is called?
>How can it know what column you want sorted...
>i must be missing something here...
That one happens to be:
	SortColumn=peek4s(lParam+NMLISTVIEW_iSubItem)

Leave this with me a couple of days, OK?

Regards,
Pete

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu