PDA

View Full Version : how can i use mouse to drag n drop objects



Alice
09-15-2003, 10:14 AM
hello everyone..my prob is that i cant find a way 2 select a particular object, drag it to a selected region n drop it there..
+ dunno how 2 use keyboard 2 select a particular item n 2 move it..
help will be most welcome
thx

mikael_aronsson
09-15-2003, 10:47 PM
Hi !

Of course you can drag and drop with OpenGL, but this has nothing to do with OpenGL itself, you just have to implement the drag'n drop yourself in your mouse event handlers.

It's not very difficult (mouse down/drag/mouse release)

Mikael

Mikael