The BeforeClick event only seems to fire for the map area itself and not in
the legend area. Is there any way to trap these clicks or to hide the
Pushpins section?
Thanks...
---
- Joshua B. Helm
Technology Manager
Millbrook Incorporated
Also, You cannot create your own popup meny on right-click.
Walt
"Joshua B. Helm" <jh...@millbrookinc.com> wrote in message
news:#$fMCSgnBHA.1516@tkmsftngp07...
Private Sub MPC1_BeforeClick(ByVal Button As Long, ByVal Shift As Long, ByVal X As Long, ByVal Y As Long, Cancel As Boolean)
If Button = 2 Then PopupMenu mnuTest1
End Sub
where mnuTest1 is your own menu. This example is for MP2k2.
Yes, you can hide the legend through the PaneState property, but that also takes away your overview map. To get around this, I
would add two instances of the MPC to the form. If the user clicks on the smaller overview MPC, it would update the larger MPC.
Tedious, but it accomplishes exactly what you want...
///Chris\\\
Chris Gebhardt, Microsoft MVP
Crime Analysis Associates
www.CrimeAnalysis.net
ch...@crimeanalysis.net
"Joshua B. Helm" <jh...@millbrookinc.com> wrote in message news:#$fMCSgnBHA.1516@tkmsftngp07...
Great answers. Thanks for helping the community.
Regards,
Chris Jensen
This posting is provided “AS IS” with no warranties, and confers no rights.
Are you secure? For information about the Microsoft Strategic Technology
Protection Program and to order your FREE Security Tool Kit, please visit
<http://www.microsoft.com/security>.