Inspector and trapping of shortcuts

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top