I have an application, where I am providing access key(ALT + A) as a shortcut. It is working fine.
The problem is: Consider I have one combo box and button. I have set one access key to button, say ALT + B and for combo box ALT + C, while pressing ALT + B combination I am showing dialog box with close button.
Even after I click the close button of the dialog box and if I press C key it is selecting the combo box.
My requirement is after showing the dialog box it should not select the combo box if I press C, how to achieve this?