1. ListView lParam
- Posted by Greg Haberek <ghaberek at gmail.com> Dec 20, 2005
- 525 views
I've been working with ListViews in Win32Lib, and I'm trying to link a record number to a ListView item by setting it as the lParam. This works fine the first time, but if I erase the items and refill the ListView, the lParams come back twice what they were, i.e. record number 500 would come back as 1000. Its weird and I have no idea why it happens. Anyone have any ideas? ~Greg
2. Re: ListView lParam
- Posted by C Bouzy <eucoder at hotmail.com> Dec 20, 2005
- 531 views
Greg Haberek wrote: > the lParams come back > twice what they were, i.e. record number 500 would come back as 1000. Its > weird > and I have no idea why it happens. Anyone have any ideas? > > ~Greg It sounds like lParams is storing the record numbers although you cleared the ListView. Try lParams = {} before reloading the records. ----If you continue to do what you have always done, you will get what you have always gotten.----