Hi,
I have a pretty unique problem right now. I need to set the Y location of a certain control to a number that is > 32 bits ( > 32,767).
However, VB's System.Drawing.Point structure only accepts 32-bit integers for its constructors. I can't just go:
because that causes an overflow. And since point structures and the location property of controls are part of the .NET framework, I can't just change them to allow 64-bit integers.
Does anyone know a way around this problem?
I have a pretty unique problem right now. I need to set the Y location of a certain control to a number that is > 32 bits ( > 32,767).
However, VB's System.Drawing.Point structure only accepts 32-bit integers for its constructors. I can't just go:
Code:
myControl.Location = New Point(0, 32768)
Does anyone know a way around this problem?