PDA

View Full Version : Left-clicking a pushpin



Colin MacQuillin
12-02-2008, 06: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?

Thanks

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