hamidehkarimi wrote:
when delete list in destractor i have a assertion error
Which destructor and what is the assertion?
From the above I am assuming you mean in the CListctrl destructor but I cannot be sure. I also assume you get an assertion that m_hwnd is NULL, but again I cannot be sure. It is possible that you are destroying some window and then calling DestroyWindow() again. Try using the debugger to trace through what you are doing in your derived classes.