CListCtrl hook error
-
Hello, I am using a list control in my MFC Application. I need to add items to the list control. So I use CListCtrl::InsertItem member method. And my app compile without any problem. But at runtime, after adding 17 items to the control, the programm ends with a MessageBox displaying "Invalid Hook Descriptor". I've tried several times and it always ends after the 17th item added. I don't use any hook in my app.I don't even know what a hook is. Can somebody helps me?:( Thanks
-
Hello, I am using a list control in my MFC Application. I need to add items to the list control. So I use CListCtrl::InsertItem member method. And my app compile without any problem. But at runtime, after adding 17 items to the control, the programm ends with a MessageBox displaying "Invalid Hook Descriptor". I've tried several times and it always ends after the 17th item added. I don't use any hook in my app.I don't even know what a hook is. Can somebody helps me?:( Thanks
i think your code had some bugs, so you must attach your code. c++