title: How to let the user cancel my AutoCAD command
body: <p>I'm currently developing an AutoCAD 2008 Addin in Visual Basic (.Net 3.0, VisualStudio 2010).</p>
  
  <p>I'm able to define my own command and I want the user to be able to cancel my command by hitting the ESC key.</p>
  
  <p>In AutoCAD 2010 or higher there exists the </p>
  
  <pre><code>HostApplicationServices.Current.UserBreak
  </code></pre>
  
  <p>method. But not in ACAD 2008.</p>
  
  <p>Does anyone has any suggestions, how the user may be able to cancel my command?</p>