I am making a virtual iPod touch in VB.NET, and I hate it how I have a form that I can't drag and move the form around the screen, I've trying making the form goto Mouse's location when the mouse moves and Dragging = True, but that doesn't work and makes the form flicker around at the speed of light. :(
Thanks, can anyone help me please? :)
In order to avoid the flickering, use the SetStyle method of the form.
Public Sub EnableDoubleBuffering()
' Set the value of the double-buffering style bits to true.
Or ControlStyles.UserPaint _
Or ControlStyles.AllPaintingInWmPaint, _