Need some help debugging listview (Process Explorer)

Paul Vriens Paul.Vriens at xs4all.nl
Wed Nov 2 08:32:41 CST 2005


On Wed, 2005-11-02 at 08:22 -0500, Dimi Paun wrote:
> On Wed, 2005-11-02 at 08:26 +0100, Paul Vriens wrote:
> > Ok, there we go (i've started winedbg or I'm not getting to the wine
> > debugger, the bt is however the same as already printed):
> 
> Good. Can you also send me your version of listview.c
> and the output of a run with +listview?
> 
Hi Dimi (again)

I've been browsing msdn
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/listview/messages/lvm_getsubitemrect.asp)

and also the code.

I've changed LISTVIEW_GetSubItemRect a bit:

    /* On WinNT, a subitem of '0' calls LISTVIEW_GetItemRect */
    if ((lprc->top == 0) || (lprc->top == 1))
        return LISTVIEW_GetItemRect(infoPtr, nItem, lprc);

now it's fine. lprc->top is one-based that lead me to think that we
shouldn't use lprc->top as the subItem identifier.

Any ideas about that?

Paul.




More information about the wine-devel mailing list