title: How can I pass WM_KEYDOWN messages to the WinForms control inside CWinFormsView?
body: <p>I have a WinForms control (let's say <strong>C</strong>) inside the CWinFormsView <strong>V</strong> of an MDI application. <strong>C</strong> overrides the <em>OnKeyDown</em> method. I have overriden also <em>OnMouseUp</em> in <strong>C</strong> and I call the <em>Focus()</em> method there, so when I click inside <strong>C</strong> the keyboard messages go directly to it and everything works correctly.</p>
  
  <p>However, I'd like to be able to control <strong>C</strong> using the keyboard when I switch to <strong>V</strong> without the need to click inside the view. How can I achieve that? Do I need to catch WM_KEYDOWN messages in <strong>V</strong> and pass them manually to the hosted control (in other words, <strong>C</strong>)? <strong>C</strong> is actually a child window of <strong>V</strong>, shouldn't it somehow work automatically?</p>