title: How to detect if the mouse is over  the context menu
body: <p>I have some mechanism to hide mouse when application works. </p>
  
  <p>But now I added a context menu for the main window form. So when mouse is under the context menu it hides mouse always.</p>
  
  <p><strong>How to detect if the mouse is over the context menu?</strong></p>
  
  <p>Thank you for any clue!</p>
  
  <p>P.S.</p>
  
  <p>This code hides mouse when app works</p>
  
  <pre><code>  void CursorTimer_Tick(object sender, EventArgs e)
          {
              TimeSpan delta = DateTime.Now.Subtract(this.CursorLastMoveTime);
              if (delta.TotalSeconds &gt; 3)
              {
                  CursorTimer.Stop();
                  Mouse.OverrideCursor = System.Windows.Input.Cursors.None;
              }
          }
  </code></pre>