Re: listview advice needed.

2003-11-18 Thread Rein Klazes
On Sat, 15 Nov 2003 10:56:34 -0500, you wrote: > On November 15, 2003 09:43 am, Rein Klazes wrote: > > OK, this looks good, but 2 small nits: > > > - dispInfo.item.iSubItem = lpLVItem->iSubItem; > > + dispInfo.item.iSubItem = isubitem; > > I'm not sure if we have to use the

Re: listview advice needed.

2003-11-15 Thread Dimitrie O. Paun
On November 15, 2003 09:43 am, Rein Klazes wrote: OK, this looks good, but 2 small nits: > - dispInfo.item.iSubItem = lpLVItem->iSubItem; > + dispInfo.item.iSubItem = isubitem; I'm not sure if we have to use the original one here or not. We should add a test for this mess as

Re: listview advice needed.

2003-11-15 Thread Rein Klazes
On Sat, 15 Nov 2003 01:50:34 -0500, you wrote: > On November 12, 2003 08:30 am, Rei > > OK, I've looked at the code, and it may be the fix. The problem with > it is that we modify the app's structure, which may be a problem. > Can you please check with the native comctl32 if it modifies iSubIte

Re: listview advice needed.

2003-11-15 Thread Rein Klazes
On Sat, 15 Nov 2003 01:50:34 -0500, you wrote: > On November 12, 2003 08:30 am, Rein Klazes wrote: > > | if (lpSubItem) > > | { > > | SUBITEM_INFO *lpSubItem = LISTVIEW_GetSubItemPtr(hdpaSubItems, > > | lpLVItem->iSubItem); pItemHdr = lpSubItem ? &lpSubItem->hdr : > > | &callbackHd

Re: listview advice needed.

2003-11-15 Thread Dimitrie O. Paun
On November 12, 2003 08:30 am, Rein Klazes wrote: > | if (lpSubItem) > | { > | SUBITEM_INFO *lpSubItem = LISTVIEW_GetSubItemPtr(hdpaSubItems, > | lpLVItem->iSubItem); pItemHdr = lpSubItem ? &lpSubItem->hdr : > | &callbackHdr; > |+ if(!lpSubItem) lpLVItem->iSubItem = 0; > |

listview advice needed.

2003-11-12 Thread Rein Klazes
Hi, Agent 2.0 beta crashes on listview related code, and requires native comctl32 to run. Here is a cut from a +relay,+message,+listview trace: | trace:message:SPY_ExitMessage (0x1004b) L"{SysListView32}" message [1004] LVM_GETITEMCOUNT returned | 0009:Ret user32.SendMessageA()