Hi,
I have another idea. In BeforeClick if you set e.cancel = true then there is no selection eather. but you know there the x and y coordinates of the mouse. So there you can do something like:
Code:
FindResults results = MP.ActiveMap.ObjectsFromPoint(e.x, e.y);
foreach (object o in results) {
Pushpin pp = o as Pushpin;
if (pp != null)
pp.Select();
}
This handles of course only pushpins. I dont know if there is a method in mappoint to select() any objec if it is selectable. But if this works I think you are in a better direction, right ?