title: Hooking into message pump of STA Apartment COM object activated in DllHost by DllSurrogate
body: <p>I have a fairly complex requirement. My STA COM object is implemented in a DLL (can't move it to out-of-process EXE). By the means of <code>DllSurrogate</code> I am hosting my object in a <code>dllhost.exe</code> process. My object has an UI attached to it (a plain modeless dialog) but I need the <code>PreTranslateAccelerator</code> mechanism in order for some shortcuts to work, etc. Since COM activates my object and hosts it in the default <code>dllhost.com</code>, I am obviously not controlling the message pump.</p>
  
  <p>Is there still a way to pre-translate messages in this scenario? I doubt COM has foreseen such a specific scenario but maybe I am missing something.</p>