Beispiel #1
0
 /// <summary>
 /// Should a mouse down at the provided point cause it to become the current tracking popup.
 /// </summary>
 /// <param name="m">Original message.</param>
 /// <param name="pt">Client coordinates point.</param>
 /// <returns>True to become current; otherwise false.</returns>
 public override bool DoesStackedClientMouseDownBecomeCurrent(Message m, Point pt)
 {
     // Is this mouse over the application button area?
     if (ClientRectangle.Contains(pt) && _appButtonBottom.Visible && _appButtonBottom.ClientRectangle.Contains(pt))
     {
         return(false);
     }
     else
     {
         return(ViewContextMenuManager.DoesStackedClientMouseDownBecomeCurrent(m, pt));
     }
 }