Why, when I use the Expand function of a CTreeCtrl, the Tree control don't send TVN_ITEMEXPANDING and TVN_ITEMEXPANDED messages ? When I let the control open and collapse the node (by clicking), the notyfication are correctly send.
How to always send the notyfication message when I use de Expand function ?