problems with inserting items in CTreeView
Posted on 2002-05-18
I have 2 little problems with CTreeView:
1. I want to give focus to an item when I right click
I use in the OnRButtonDown the following code
The htItem is selected (inverse video) but the focus is not set to this item...
Any idea on how to give focus to it ?
2. How can I insert an item just after the selected item, not in the beginning, in last position, or in sorted position ??? This is strange to me, how can I insert this just before, or just after the selected item ???