Working with C# in Visual Studio 2008 (.NET 3.5). Looking into System.Windows.Forms.MouseEventArgs
.
I'm seeing strange behavior with long Panel when I intercept handle the MouseMove
event. It appears that MouseEventArgs.X
goes from 0 to 32767, and wraps around to -32768.
When I watch the variable in Visual Studio, it claims that it's of type int
.
Apparently it's a 16-bit signed integer the way it's behaving. Is this true? Is this a hard limit?
Thanks!