September 14th, 2011, 02:42 PM
Commandbindings fail after file dialog cancel
I have applied Commandbindings on my main WPF form to associate some keyboard shortcuts with menu and toolbar buttons:
CTRL S brings up a Save dialog
CTRL O invokes an Open Dialog
Esc toggles the menu and toolbar on and off.
However, if I select cancel from either of the dialog boxes then all keyboard shortcuts are disabled until I either make a selection from the menu or click on a toolbar button.
Any ideas anyone?
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.