I'm developing an Outlook 2010 Add-In in C# which adds a "docked" Custom Task Pane to the Outlook Explorer window. Now i'm facing the problem that it isn't possible to delete an e-mail (with delete key) after clicking on the Custom Task Pane. First i have to click into the e-mail preview and then i can delete e-mails with the delete key.
It seems to be a focus problem. The problem only occurs with "docked" Custom Task Panes. If they are floating the delete key works as expected.
Any ideas how to solve that?
I found a workaround for that problem on the net which works.