Можно отреагировать на сообщение LVM_INSERTITEM Ремарка к методу InsertItem в MSDN:
| Цитата | Calling this method may cause the LVM_INSERTITEM message to be sent to your control window. The associated message handler for the control may fail to set the item text under certain conditions (such as using window styles such as LVS_OWNERDRAW). For more information on these conditions, refer to LVM_INSERTITEM in the Windows SDK.
|
Правда, не совсем понятны слова "may cause"... может сообщить (значит может и не сообщить). Видимо это касается subitem-ов - LVM_INSERTITEM не посылается при вставке subitems |