Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Inspector and trapping of shortcuts (http://www.outlookbanter.com/add-ins-outlook/36018-inspector-trapping-shortcuts.html)

Petr Nehez December 22nd 06 09:34 AM

Inspector and trapping of shortcuts
 
Hi,

I have ECE add-in and I open forms through ExMAPI and our customers want
to have the same functionality as in Outlook if they want to delete the
message.
The standard behavior of MAPI is if the user presses "X" the form asks
him if he wants to delete the item permanently. I have done workaround
for the buttons via DIID__CommandBarButtonEvents for actions with the
mouse but I still need to trap the shortcuts because if the user press
"Ctrl+D" the form still asks the user if he wants to delete it
permanently. I did some work on hooking of Inspector window (WM_COMMAND,
OLE_MESSAHE) but without success, it only brought me other problems...
Does anyone know where to trap the shortcuts?

Thanks in advance,
Petr


All times are GMT +1. The time now is 07:00 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com