Dear all,
I have made a form in c#. When i click on the Button available on this form, a certain thing happens. The same thing i want to do by typing a shortcut key. I have assigned a shortcut key to Button like ALT+F5. But when i press this key, the focus goes to autocad command window. I have to click on the form button to set focus, and then i issue my keyboard shortcut. It works but again lost the focus.
Is there is any way in autocad, i issue a shortcut key then it execute my button code and it does not depend on focus of the button.