ctreectrl

MFC Woes

While working on some old MFC code, I made an unpleasant discovery - the standard CTreeCtrl class doesn't support multiple selection. This was a little hard for me to believe at first, it's not exactly an advanced feature. Even worse, all the free implementations I could find on the web had bugs. One had such funky message handling that it worked on XP but not Vista. Another doesn't implement keyboard handling, and therefore breaks when the user tries to use the keyboard.

Working with legacy code is so much more difficult after being spoiled with new modern frameworks.

Syndicate content