BrightIdeasSoftware.HeaderControl.HandleMouseMove C# (CSharp) Method

HandleMouseMove() protected method

Handle the MouseMove windows message
protected HandleMouseMove ( Message &m ) : bool
m System.Windows.Forms.Message
return bool
        protected bool HandleMouseMove(ref Message m)
        {
            int columnIndex = this.ColumnIndexUnderCursor;

            // If the mouse has moved to a different header, pop the current tip (if any)
            // For some reason, references this.ToolTip when in design mode, causes the
            // columns to not be resizable by dragging the divider in the Designer. No idea why.
            if (columnIndex != this.columnShowingTip && !this.ListView.IsDesignMode) {
                this.ToolTip.PopToolTip(this);
                this.columnShowingTip = columnIndex;
            }

            return true;
        }