ComponentFactory.Krypton.Ribbon.VisualPopupMinimized.AllowMouseMove C# (CSharp) Method

AllowMouseMove() public method

Should the mouse move at provided screen point be allowed.
public AllowMouseMove ( Message m, Point pt ) : bool
m System.Windows.Forms.Message Original message.
pt Point Client coordinates point.
return bool
        public override bool AllowMouseMove(Message m, Point pt)
        {
            // Convert point to the ribbon control coordinates
            Point ribbonPt = _ribbon.PointToClient(pt);

            // We allow mouse moves over the ribbon so that the tabs can hot track but
            // only when the minimized popup is the current tracking popup
            if ((this == VisualPopupManager.Singleton.CurrentPopup) &&
                _ribbon.ClientRectangle.Contains(ribbonPt))
                return true;

            // Let base class perform standard processing
            return base.AllowMouseMove(m, pt);
        }