imt

Progrematicly firing the IEngineEditor.OnSelectionChanged event

Discussion created by imt on Mar 7, 2011
Hey,
Please excuse my bad English.
I had implemented a selection tool with some special abilities.
The only problem with it, is that after the selection is made, the IEngineEditor.OnSelectionChanged doesn't automatically fire.

I'm listening to that event in another tool, and that's casing me a lot of problems.
How can i fire the IEngineEditor.OnSelectionChanged event?

That's a part of my selection code:


// ILayer layer;
// IFeatureSelection featureSelection = layer as IFeartureSelection;

ISelectionSet selectionSet = m_QueryByLayer.Select();
featureSelection.SelectionSet = selectionSet;
featureSelection.SelectionChanged();

Thanks,
Idan

Outcomes