I would like to display a Message Box Dialog when the user activates the -esri selection tool- and double clicks anywhere on the map. or when they doubleclick any feature on the map
please note that I am not creating a new tool. MapControl is an option but I am not able to access the object, or cast anything to it. so please help
EDIT:- I have tried to cast my Focus map into a Mapcontrol and get that object and cast into ImapControlEvents2. and threw it I can handle the OndoubleClick event
I have tried getting the selection tool from the active tool and caste it into an Itool object but that didnt work since I am not creating a new tool,
I researched the API Reference provided on esri website to see what options I have and I found nothing that might help me. the interfaces that I need are the following,