Official Murl Engine Forum
OS Drag&drop - Printable Version

+- Official Murl Engine Forum (https://murlengine.com/forum)
+-- Forum: Murl Engine (https://murlengine.com/forum/forumdisplay.php?fid=5)
+--- Forum: General (https://murlengine.com/forum/forumdisplay.php?fid=8)
+--- Thread: OS Drag&drop (/showthread.php?tid=51)



OS Drag&drop - ksubox - 14 Oct 2013

Hi,

I wonder how to process OS drag&drop events in engine?


RE: OS Drag&drop - dizzy - 18 Oct 2013

Hi!

Currently, drag&drop is not directly available in the framework.

It is basically possible to extend the platform implementation to handle necessary events, e.g. by reacting on WM_DROPFILES events in source/platform/win32/gdi/murl_platform_win32_gdi_window.cpp on Windows. These events may then be forwarded to a custom control, which might also handle dragging operations in the other direction.

However, the project files for rebuilding the platform front-ends is not yet included in the release package, we will add these in one of the next updates so it's possible for you to easily modify the platform libs.

Best regards,

Christopher


RE: OS Drag&drop - ksubox - 18 Oct 2013

Thank you!

I really need it.