244 Subj : listview sorting To : borland.public.cpp.borlandcpp From : mike Date : Wed Jul 07 2004 07:58 pm Hi, in my callback function for the listview sort, the prototype should look something like this: int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort); i know i can call the ListView_SortItems macro to specify my callback function, but my questions is where do i specify what gets passed to the callback function? in this case, where do i specify what i want lParam1 and lParam2 to be in CompareFunc ()? aloha, mike . 0