ComponentFactory.Krypton.Ribbon.VisualPopupAppMenu.DoesMouseDownGetEaten C# (CSharp) Method

DoesMouseDownGetEaten() public method

Should the mouse down be eaten when the tracking has been ended.
public DoesMouseDownGetEaten ( Message m, Point pt ) : bool
m System.Windows.Forms.Message Original message.
pt Point Screen coordinates point.
return bool
        public override bool DoesMouseDownGetEaten(Message m, Point pt)
        {
            // Is the point inside the area of the application button
            if (_rectAppButtonTopHalf.Contains(pt))
            {
                VisualPopupManager.Singleton.EndAllTracking();
                return true;
            }
            else
                return base.DoesMouseDownGetEaten(m, pt);
        }