Mike Leftwich
Posts: 4
Joined: 2004-06-02
|
How do you get the shortcut keystroke defined in the ShortcutText property to work inside Outlook? I set the property value to be "Ctrl+Shift+T" and set the DisableStandardAction property to True. The shortcut shows up correctly in the Outlook menus, but pressing the keystroke does not seem to have any effect. I stepped through the code of adxAddIn in the debugger, and it gets to line 4029:
AControl.DefaultInterface.OnAction := '!<' + COMAddInClassFactory.ProgID + '>'
At this point, the following exception is raised:
Project OUTLOOK.EXE raised exception class EOleException with message 'Member not found'.
The exception is swallowed in the try..except block, but the OnAction property never gets set.
I checked in the COM Add-Ins Manager of Outlook, and my add-in is listed.
Any suggestions are appreciated.
Mike |
|
Dmitry Kostochko
Add-in Express team
Posts: 2880
Joined: 2004-04-05
|
Unfortunately the ShortcutText property is only a piece of text that is displayed but doesn't handle any combination keystroke.
Sincerely,
ADX Support Team |
|