ArithmeticException occured

Docking/MDI for Windows Forms Forum

Posted 17 years ago by Seppo Muhonen
Version: 2.0.81
Platform: .NET 2.0
Environment: Windows XP (32-bit)
Avatar
Can you please help me: I get the error "Overflow or underflow in the arithmetic operation" in a certain situation and it is thrown from the "Activate" method of the DocumentWindow.

   tool.Text = toolTitle;
   tool.AutoScroll = true;
   tool.Show();
   tool.Activate();
Call Stack:

ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.TabbedMdiRootContainer.ArrangeCore() + 0x2c1 bytes
ActiproSoftware.WinUICore.Net20.dll!ActiproSoftware.WinUICore.UIControl.Arrange(System.Drawing.Rectangle newBounds = {X = 343 Y = 52 Width = 690 Height = 730}) + 0x91 bytes
ActiproSoftware.WinUICore.Net20.dll!ActiproSoftware.WinUICore.UIControl.UpdateLayout() + 0x1e4 bytes
ActiproSoftware.WinUICore.Net20.dll!ActiproSoftware.WinUICore.UIControl.Invalidate(ActiproSoftware.WinUICore.InvalidationLevels levels = Element | Children, ActiproSoftware.WinUICore.InvalidationTypes types = 7) + 0xde bytes
ActiproSoftware.WinUICore.Net20.dll!ActiproSoftware.WinUICore.UIControl.OnLayout(System.Windows.Forms.LayoutEventArgs e = {System.Windows.Forms.LayoutEventArgs}) + 0x2f bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.PerformLayout(System.Windows.Forms.LayoutEventArgs args) + 0xa7 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(System.Windows.Forms.Layout.IArrangedElement affectedElement, string affectedProperty) + 0x2e bytes
System.Windows.Forms.dll!System.Windows.Forms.Layout.LayoutTransaction.DoLayout(System.Windows.Forms.Layout.IArrangedElement elementToLayout, System.Windows.Forms.Layout.IArrangedElement elementCausingLayout, string property) + 0x2c bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlCollection.Add(System.Windows.Forms.Control value = {ActiproSoftware.UIStudio.Dock.TabbedMdiContainer}) + 0x1f7 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ef.b(System.Windows.Forms.Control A_0 = {ActiproSoftware.UIStudio.Dock.TabbedMdiContainer}) + 0xa9 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.TabbedMdiRootContainer.a(int A_0 = 0, ActiproSoftware.UIStudio.Dock.TabbedMdiContainer A_1 = {ActiproSoftware.UIStudio.Dock.TabbedMdiContainer}) + 0xba bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.DockManager.b(ActiproSoftware.UIStudio.Dock.TabbedMdiWindow A_0 = {ActiproSoftware.UIStudio.Dock.DocumentWindow}) + 0x1f0 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.DocumentWindow.Activate(bool focus = true) + 0x85 bytes
ActiproSoftware.UIStudio.Dock.Net20.dll!ActiproSoftware.UIStudio.Dock.TabbedMdiWindow.Activate() + 0x20 bytes

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Seppo,

Would you be able to put together a tiny sample project that shows this and e-mail it over? We're probably going to be putting out a maintenance release this weekend so it would be nice to get a fix for this in there.


Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.