I'm working with the tree control i wanted to handle item expansion or collapsing, finally i found that the tree send' an notification TVN_ITEMEXPANDING to it's parent window, as mentioned in this page http://msdn.microsoft.com/en-us/library/windows/desktop/bb773537(v=vs.85).aspx
I'm writing a tree class that will be reused in other windows and inherited i want to handle that event the wndProc of the tree independently of it's parent. like .NET
how can this be done??
I'm inheriting from TTreeWindow class of OWL library I'm now depending on the dialog that hosts the tree it receives the notification in its wndProc