AB4D Forum
Why DXEventManager3DWrapper can't handle CircleVisual3D MouseDrag event? - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: Ab3d.DXEngine (https://forum.ab4d.com/forumdisplay.php?fid=11)
+--- Thread: Why DXEventManager3DWrapper can't handle CircleVisual3D MouseDrag event? (/showthread.php?tid=4161)



Why DXEventManager3DWrapper can't handle CircleVisual3D MouseDrag event? - thlinzh2017 - 12-13-2019

I want to implement a Graph editor, so I use the CircleVisual3D to present graph nodes,

and, i use DxEventManager3DWrapper to handle mouse move, click and drag events,

my problem is why MouseDrag doesn't work with DxEventManager3DWrapper but work with EventManager3DWrapper ?



I think I can't use 2 event manager for 1 visual object, it will be too complex.


RE: Why DXEventManager3DWrapper can't handle CircleVisual3D MouseDrag event? - abenedik - 12-13-2019

The sample DXEventManager3DWrapper that comes with Ab3d.DXEngine is the same as the sample that comes with Ab3d.PowerToys and it also uses drag event and drag surface.

This sample uses DXEventManager3DWrapper and dragging there works correctly.

Check what are the differences between this sample and your code.
Maybe some other event handler is getting the mouse down events.