Select to view content in your preferred language

how to overwrite Ctrl+s action in ArcGIS Pro

439
0
11-08-2020 07:37 PM
by Anonymous User
Not applicable

Hi Guys,

I want to detect Ctrl + s event in arcgis pro and I still cannot achieve it.

I tried with pure wpf window and it is working for me with the following code.

Application.Current.MainWindow.KeyDown += TrackSaveShortCut;

private void TrackSaveShortCut(object sender, KeyEventArgs e){

   if(Keyboard.Modifiers == ModifierKeys.Control && eKey == Key.S){

      Message.Show("Ctrl s key pressed");

   }

}

I am using Pro 2.5.1.

Any Idea Uma Harano

Tags (1)
0 Kudos
0 Replies