P
Petr Nehez
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
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