http://bugs.winehq.com/show_bug.cgi?id=1232 ------- Additional Comments From z_god(a)wanadoo.nl 2003-20-06 06:48 ------- Bug comments restored from Gmane.org: using Kazaalite with builtin comctl32, if i try to sort a treeview by clicking on a column title, wine wont sort it and prints this message err:treeview:TREEVIEW_Sort invalid item hParent=0 as a temporary workaround, i changed the following in TREEVIEW_Sort() from treeview.c /* Check for a valid handle to the parent item */ if (!TREEVIEW_ValidItem(infoPtr, parent)) { ERR("invalid item hParent=%x\n", (INT)parent); return FALSE; } to /* Check for a valid handle to the parent item */ if (!TREEVIEW_ValidItem(infoPtr, parent)) { ERR("invalid item hParent=%x\n", (INT)parent); /* return FALSE; */ /* i still requested a sort.... */ parent=infoPtr->root; } which does the trick for now, and all columns sort as you would expect. -- Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.