[ros-bugs] [Bug 855] Cannot sort by column in Task Manager
ReactOS.Bugzilla at www.reactos.org
ReactOS.Bugzilla at www.reactos.org
Mon Apr 14 21:30:24 CEST 2008
http://www.reactos.org/bugzilla/show_bug.cgi?id=855
amine48rz <amine48rz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Status|ASSIGNED |NEW
Apal <djapal at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |djapal at gmail.com
--- Comment #3 from Apal <djapal at gmail.com> 2008-04-14 21:30:23 CET ---
I have tried to solve this one but with no success.
if (pnmh->hwndFrom == hProcessPageListCtrl)
{
switch (pnmh->code)
{
#if 0
case LVN_ITEMCHANGED:
ProcessPageUpdate();
break;
#endif
case LVN_COLUMNCLICK:
if(pnmv->iSubItem == 1)
MessageBox(hProcessPage,TEXT("2h sthlh"),TEXT("Test"),MB_OK);
//if(pnmv->iSubItem == 2)
// MessageBox(hProcessPage,TEXT("3h sthlh"),TEXT("Test"),MB_OK);
// combine sort info into a single value we can send to our sort
function
(void)ListView_SortItems(hProcessPageListCtrl, CompareListItems,
0);
break;
.
.
.
with just a dummy compare func just to see some results
int CALLBACK CompareListItems(LPARAM lParam1, LPARAM lParam2, LPARAM
lParamSort)
{
return 1;
}
but I get nothing. I really don't know.
I tried
if (ListView_SortItems(hProcessPageListCtrl, CompareListItems, 0))
and it always returns false.
I'm not so familiar with win32 api, so does anyone know where is the wrong part
of my code?!
--
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Ros-bugs
mailing list