JJ,
It's just like the desktop's Auto Arrange. Meaning that, icons are always (left side) arranged.
Not quite. The default is "top side" (horizontal first) ordered, but you
can add the LVS_ALIGNLEFT flag to have it arrange "left side" (vertical
first).
LVS_AUTOARRANGE is not same as desktop's Align To Grid.
Yes, I'm aware of that.
Alas, neither has anything to do with the ListView problem I described.
Mind you, it sometimes seems to work allright and all items are in the order
in which they where added to the ListView. I've got one program which (currently!) seems to have no problem, and another which (now) every time throws the items outof order.
The thing is that when I wait with setting the LVS_AUTOARRANGE until /after/ I've addded the items to the ListView the autoarranging (when I resize the dialog and by it the ListView in it) seem to work flawlessly.
IOW, it looks like LVS_AUTOARRANGE doesn't like LVM_INSERTITEM (and perhaps others too) very much.
Regards,
Rudy Wieser
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)