as a test, i have created a rtf box that i responds to cerain mose actions. when the mouse is pressed in it, it records it's current position, and the current mouse position, an starts the drag operation. every time the mouse moves, if the drag operation is true, the box is moved by how far the mouse has moved ((box start position - mouse start position) + current mouse position).
the problem is that it seems to be flicking between two location very quickly; it looks as though there are two rtf boxes on the screen while i'm dragging. why might this be? i still haven't made it resizable, but if i can get it dragging correctly then it should be too difficult a task.
what i really want is a component similar to the ones used is vs.net design view; which allow you to easily scale and size a component. what component would let me do this?
as a test, i have created a rtf box that i responds to cerain mose actions. when the mouse is pressed in it, it records it's current position, and the current mouse position, an starts the drag operation. every time the mouse moves, if the drag operation is true, the box is moved by how far the mouse has moved ((box start position - mouse start position) + current mouse position).
the problem is that it seems to be flicking between two location very quickly; it looks as though there are two rtf boxes on the screen while i'm dragging. why might this be? i still haven't made it resizable, but if i can get it dragging correctly then it should be too difficult a task.
what i really want is a component similar to the ones used is vs.net design view; which allow you to easily scale and size a component. what component would let me do this?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.