DaveGKeller
12-07-2010, 02:37 PM
I was wondering if there is a way to detect which option is selected when the users clicks on the pop-up menu (when right-clicking a Pushpin)? I have Pushpins on my map and when the user right clicks they get the default MP pop-up menu:
http://stashbox.org/1039557/right-click-screenshot.jpg
So, for example, if they click "Rename", is there a way for me to know that is the option they picked? What I am hoping to do is kind of disable some of the options by having them do nothing. "Rename" is actually a good example because I don't want the user to be able to rename the Pushpin. So if I could detect it and then ignore it that would be a very good thing.
I'm using Visual Studio 2010 (VB.NET) and MP 2010. Any idea's or suggestions would be very welcome. Thanks.
http://stashbox.org/1039557/right-click-screenshot.jpg
So, for example, if they click "Rename", is there a way for me to know that is the option they picked? What I am hoping to do is kind of disable some of the options by having them do nothing. "Rename" is actually a good example because I don't want the user to be able to rename the Pushpin. So if I could detect it and then ignore it that would be a very good thing.
I'm using Visual Studio 2010 (VB.NET) and MP 2010. Any idea's or suggestions would be very welcome. Thanks.