J
Jim Black
I have built a COM Addin using VS2005 that can be hosted by either Microsoft
Office Excel or Microsoft Office Project. Whether the addin is launched
from Project or Excel, it shows exactly the same form to the user, and this
form has a menu with lots of shortcuts defined for its menu items. When
hosted by Excel, these shortcuts work. For example, pressing CTRL+S fires my
form's file-save event handler as expected. For the Project addin, however,
pressing CTRL+S does not fire my form's event handler. I suspect that
somehow MS Project is intercepting these keystrokes whereas Excel is not.
The problem happens regardless of whether the addin is hosted in Project 2003
or Project 2007. How can I diagnose why these keystrokes are not being
passed to my addin for Microsoft Project?
--- Jim Black
Office Excel or Microsoft Office Project. Whether the addin is launched
from Project or Excel, it shows exactly the same form to the user, and this
form has a menu with lots of shortcuts defined for its menu items. When
hosted by Excel, these shortcuts work. For example, pressing CTRL+S fires my
form's file-save event handler as expected. For the Project addin, however,
pressing CTRL+S does not fire my form's event handler. I suspect that
somehow MS Project is intercepting these keystrokes whereas Excel is not.
The problem happens regardless of whether the addin is hosted in Project 2003
or Project 2007. How can I diagnose why these keystrokes are not being
passed to my addin for Microsoft Project?
--- Jim Black