R.Wieser
2021-11-05 10:45:10 UTC
Hello all,
Using XPsp3 I've got a SysListView32 element which I have given the LVS_ICON
and LVS_AUTOARRANGE settings. The thing is that even though I can see that
LVM_ADDITEM increments the items indices as expected what gets displayed is
rather random in its ordering.
I've tried to google the problem/cause/solution, but can't seem to find
anything (other than MS saying "Icons are automatically kept arranged in
icon and small icon view.")
Although I've found a "solution" by only enabeling the LVS_AUTOARRANGE
setting *after* I've loaded the items, I'm not at all sure if this willstick
for as long as the program stays open.
In other words : I've got no idea when the autoarrange will again activate
(on insertion ? Deletion ? Doesn't seem to on resizing, but it might ?)
and again make a mess of the items order.
Does anyone have some information on how/when autoarrange does its job and
get it to behave so the items stay in order as provided (thru LM_ADDITEM /
LVM_INSERITEM / others? )
Regards,
Rudy Wieser
Using XPsp3 I've got a SysListView32 element which I have given the LVS_ICON
and LVS_AUTOARRANGE settings. The thing is that even though I can see that
LVM_ADDITEM increments the items indices as expected what gets displayed is
rather random in its ordering.
I've tried to google the problem/cause/solution, but can't seem to find
anything (other than MS saying "Icons are automatically kept arranged in
icon and small icon view.")
Although I've found a "solution" by only enabeling the LVS_AUTOARRANGE
setting *after* I've loaded the items, I'm not at all sure if this willstick
for as long as the program stays open.
In other words : I've got no idea when the autoarrange will again activate
(on insertion ? Deletion ? Doesn't seem to on resizing, but it might ?)
and again make a mess of the items order.
Does anyone have some information on how/when autoarrange does its job and
get it to behave so the items stay in order as provided (thru LM_ADDITEM /
LVM_INSERITEM / others? )
Regards,
Rudy Wieser