C key + left mouse click

91
1
08-19-2020 08:43 AM
JackKelley1
New Contributor II

Using the SDK's Examples\MapExploration\GetMapCoordinates.cs, how could OnToolMouseDown(...) be modified to avoid HandleMouseDownAsync(...) if the C key is depressed?

My idea is that the user should be able to pan with the left mouse button.

The answer may involve something like System.Windows.Input.AccessKeyPressedEventArgs.

0 Kudos
1 Reply
JackKelley1
New Contributor II

It now seems that no extra code is needed. The C key is working, allowing me to pan while the MapTool is selected.

I am in Visual Studio, testing, and the C key was NOT happening 30 minutes ago!

0 Kudos