/// <summary>
        /// Shows the active band in a popup when the bar is collapsed
        /// </summary>
        public void ShowCollapsedBandPopup()
        {
            if (Bar.ActiveBand != null)
            {
                popup          = new NaviBandPopup();
                popup.Content  = Bar.ActiveBand.ClientArea;
                popup.Renderer = renderer;

                popupHelper = new PopupWindowHelper();
                KryptonForm parent = (KryptonForm)Bar.FindForm();
                popupHelper.PopupClosed += new PopupClosedEventHandler(popupHelper_PopupClosed);

                popupHelper.AssignHandle(parent.Handle);
                popup.Resizable     = true;
                popup.ShowInTaskbar = false;
                popup.Height        = Bar.PopupHeight;
                popup.Width         = orgWidth;
                popup.RightToLeft   = Bar.RightToLeft;
                popup.MinimumSize   = new Size(Bar.PopupMinWidth, 30);

                if (Bar.RightToLeft == RightToLeft.Yes)
                {
                    popupHelper.ShowPopup(parent, popup, Bar.PointToScreen(new Point(0 - orgWidth, Bar.HeaderHeight)));
                }
                else
                {
                    popupHelper.ShowPopup(parent, popup, Bar.PointToScreen(new Point(Bar.Width, Bar.HeaderHeight)));
                }
            }
        }
 /// <summary>
 /// Constructs a new instance of this class and sets the owning
 /// object.
 /// </summary>
 /// <param name="owner">The <see cref="PopupWindowHelper"/> object
 /// which owns this class.</param>
 public PopupWindowHelperMessageFilter(PopupWindowHelper owner)
 {
     this.owner = owner;
 }