Question:
In your OnColumnclickList1() what is the ID_SEARCHLIST thing all about?
Also be sure to check that your actually setting the lParam correctly in the first place. I.e. check that the LVITEM mask member includes LVIF_PARAM as well as setting the lParam member to your structure address.
Rob
Main Topics
Browse All Topics





by: NickRepinPosted on 2001-07-26 at 15:06:49ID: 6324782
<<The lParam1 parameter is the 32-bit value associated with the first item being compared, and the lParam2 parameter is the value associated with the second item.>>
You have to explicitely assign a certain value to lParam for each listview item when you create a listview.
By default, lParam contains zero.
lParam is among other members in LVITEM structure.