this however does not work. the file menu on my user interface pops down and then the object disappears(dont ask me how). it seems straight enough but obviously not. any help would be great.
ps the drag is not important once it ends up translating from one point to the other
In this piece of code are you trying to move an object or draw it… not very clear.
if you are moving a object, all you need it the point in which to place it when the button is released. And until the button is released just have the object follow your mouse.
Now if you are drawing, the mouse down is the start of your object, the mouse up is end.
this however does not work. the file menu on my user interface pops down and then the object disappears(dont ask me how). it seems straight enough but obviously not. any help would be great.
ps the drag is not important once it ends up translating from one point to the other[/b]
[This message has been edited by nexusone (edited 04-08-2002).]
Originally posted by likeit: im trying to move it, do i just have an empty motion method then as well as the code posted earlier for the left mouse button down and up.