Insert an item into syslistview32?
Posted on 2005-05-07
I injected Plugin.dll into target.exe and got the handle of its syslistview32 component. All I want to do is to insert an item into the syslistview32. Well, I tried ListView_InsertItem function and succeeded to insert an item and its subitems (The value of ListView_GetItemCount increases). But it seems that target.exe doesn't know the insert event. When I make a double click on an item, an edit dialog should pop up, but when I click on the new item inserted by plugin.dll, it raises an error-"Please choose an item".
The style of this syslistview32 is LVS_OWNERDRAWFIXED.
Can anyone help me? Thanks very much.