title: How to capture events fired from popup IE window
body: <p>I want to prevent popup IE window from IE shortcut keys.This actually I done with the help of 
  newwindow2 function</p>
  
  <pre><code>    void CDHtmlDialogEx::OnNewWindow2(LPDISPATCH FAR* ppDisp, BOOL FAR* Cancel)
      {
       //*Cancel = FALSE;//allow
       *Cancel = TRUE;
      }
  </code></pre>
  
  <p>I want to differentiate using ppDisp to open the popup window for particular operation.</p>
  
  <p>How can I do this?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>How to use this <strong>ppDisp</strong> variable?Give sample for this usage of ppDisp variable.</p>
  
  <p>Regards,
  Karthik</p>