Has anyone else dealt with this. I created a few programs that have residual selections (meaning you select an item it is added to a list and then you can select another with out holding CTRL, then you deselect by clicking on any selected item, and it is removed from the list.) The problem is that when deselecting a feature from the Tree it seems to raise the Assm_SelectionChangeNotify event 2 times. This is causing my app to loop and deselect everything. When deselecting from the graphics view everything works as expected. I have been racking my brain trying to think of some other way of deciding which item was deselected. I have been using....
Set ThisComp = SelMan.GetSelectedObjectsComponent2(SelMan.GetSelectedObjectCount)
to get the last object selected. Then I check if it is in my list and if the item is found it removes the item if not it adds the item.
Anyone have any Ideas they would like to share.
Corey