ListBox Update/OnAdd/OnChange event capture
Posted on 2004-04-27
I need to be notified if an item has been added to listbox. I tried capturing LB_ADDSTRING windows message, but that does not solve my problem because I need to perform some functions after values have been added to listbox not when they are going to be added (this is when windows message is sent).
Any idea how this can be achieved? Is there a listbox component that has already been developed with OnChange event (similar to that of a Memo which invokes OnChange after showing value in the Memo) or an OnAdd event?