Quote:Original post by Ixusv4
The DOEvents was already implanted in my renderloop. If it wasn't there any interaction with other controls on any form in the same program would be impossible.
The problem arises when the user interacts with the scrollbar/object or any object or when one moves any form around..
The problem is in the fact dat VB.net is not multi-tasking. And usually one makes a directX program Fullscreen...Buth I want to make my own 3D Editor :(
Yes, your problem makes sense. When you fire the DoEvents() function, all user mouse clicks, key strokes, etc now have time to execute. Obviously the scrolling of your form/picturebox are taking longer than anticipated. This could be bad code or just the amount of work that needs to be done.
Multithreading may not solve your problem, as others stated please post your scrollbar event code and render loop. they're may be an easier way to fix the problem.