I have a CTreeCtrl in a CPropertyPage on XP... everything using themes. I
noticed that if I popup a window over the tree control and then click on the
tree control itself, all sorts of funky painting problems happen with the
tree control. After ripping my hair out, I noticed that if I remove the
TVS_DISABLEDRAGDROP style, it starts painting correctly again, but then I
get the weird drag/drop behavior that is all funky.

Anyway to disable the drag & drop and have things paint correctly?

Even if I put WS_CLIPCHILDREN on the CPropertyPage, it still doesn't fix the
problem.