This class is intended to go in your std lib folder, but, of course, you can put it wherever you want so long as you #include it.
All the info is in the gist below, but here's the short of it...
Code: Select all
_DragDrop() ; Init stb lib. if (DragDrop.ShouldUseDD()) g_vDD := new DragDrop("SimulateDragNDrop", g_hQL) ...when you're done with the object... g_vDD := ; Delete this object to unregister it from the super class and release it from the mouse hook.
DragDrop on GitHub