Reflected CListCtrl Header Notifications

If you use ClassWizard to add header control notification handlers such as HDN_ENDTRACK to a CListView then the ClassWizard incorrectly inserts an ON_NOTIFY_REFLECT handler instead of an ON_NOTIFY handler. This problem and the solution is described in MS KB article Q281155 - PRB: HDN_XXX Notifications Incorrectly Generated for CListView. I assume that the problem exists for CListCtrl also but the article is ambiguous about that.


See my Visual C++ Programmer Stuff page for more C++ stuff.