View Full Version : Left-clicking a pushpin

Colin MacQuillin
12-02-2008, 05:30 AM
I need a way to display my own form after the user left-clicks on a pushpin. The right-click ballon needs to stay.

I tried the SelectionChange event but that is called on a left-click or right-click and the event doesn't allow me to check what was used.

I also tried MouseUp but that doesn't allow me to interrogate the objects there which the SelectionChange does.

How do I get this to work?


12-02-2008, 06:32 AM
Put a flag on MouseDown for left button only, and check/clear the flag on SelectionChange.