title: C++ MFC SDI Copy/Paste did not work
body: <p>I have created a simple MFC SDI Application with an Ribbon. The View for the Document is a FormView with on Edit Control. </p>
  
  <p>If I now use CTRL+V to paste some Text in the Edit Control nothing happens. Same goes with CTRL+C to copy the Text inside the Edit Control.
  I could use the Context Menu if i right click inside the Edit Control.
  But how can i enable the Shortcuts?
  The CTRL + C etc is inside the Accelerator List.
  If i add the following to the MainForm </p>
  
  <pre><code>BEGIN_MESSAGE_MAP(CMainFrame, CFrameWndEx)
      ON_COMMAND(ID_EDIT_COPY, &amp;CMainFrame::onCopy)
  END_MESSAGE_MAP()
  </code></pre>
  
  <p>and the Function itself</p>
  
  <pre><code>void CMainFrame::onCopy() {
      AfxMessageBox(L"Copy");
  }
  </code></pre>
  
  <p>If i now press CTRL+C the MessageBox Pops up. But i could not copy the text of the Edit Control to the Clipboard.
  How could I chose between copy text from an Edit Text and doing something else if a different control is selected and CTRL+C is pressed(e.g. if i select text inside the Edit Control it should be copied to the clipboard. If i select e.g. an Item from a Tree View only a popup should shown)?</p>