I'm stuck with changing existing footers of a group. The initial setting works fine, but changing doesn't.
Code: Select all
FillMemory(@_lvGroup, SizeOf(LVGROUP1)) ; clear the structure
iNumberOfEntries = ListSize(LVGrouplist()) - 1
_lvGroup\mask = #LVGF_FOOTER
For iCounter = 0 To iNumberOfEntries
sItem = Str(LVGrouplist()\GroupItems)
_lvGroup\pszFooter = @sItem
_lvGroup\cchFooter = Len(sItem) * 2 + 2
SendMessage_(hWnd, #LVM_SETGROUPINFO, iCounter, @_lvGroup)
Next
The MSDN gives me a LVM_GETFOOTERINFO but no LV_SETFOOTERINFO. Instead LVM_SETGROUPINFO shall be used. But it's not working *grrr*
Am I missing a token in my groupmask??
Greetz,
Fenix
