Posted 19 years ago
by Seppo Muhonen
The following error occurs when I right mouse click the tool window in the "Auto-Hide" mode. This happens only in the older (slower) PCs. What I should do?
System.ArgumentException: ContextMenu cannot be shown on an invisible control.
Parameter name: control
at System.Windows.Forms.ContextMenu.Show(Control control, Point pos)
at ActiproSoftware.UIStudio.Dock.DockManager.?(TabbedMdiWindow , Rectangle , TabbedMdiWindowContextMenuSource )
at ActiproSoftware.UIStudio.Dock.AutoHideTab.OnMouseUp(MouseEventArgs e)
at ActiproSoftware.WinUICore.UIElement.ActiproSoftware.WinUICore.IInputElement.RaiseMouseUpEvent(MouseEventArgs e)
at ActiproSoftware.WinUICore.UIControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
System.ArgumentException: ContextMenu cannot be shown on an invisible control.
Parameter name: control
at System.Windows.Forms.ContextMenu.Show(Control control, Point pos)
at ActiproSoftware.UIStudio.Dock.DockManager.?(TabbedMdiWindow , Rectangle , TabbedMdiWindowContextMenuSource )
at ActiproSoftware.UIStudio.Dock.AutoHideTab.OnMouseUp(MouseEventArgs e)
at ActiproSoftware.WinUICore.UIElement.ActiproSoftware.WinUICore.IInputElement.RaiseMouseUpEvent(MouseEventArgs e)
at ActiproSoftware.WinUICore.UIControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)