You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enable drag and drop file application-wide with DragAcceptFiles(hWnd, TRUE);
parse WM_DROPFILES message from OS and retrieve file names with DragQueryFile() function
For each filename, call editor.renderComponent.Open(filename);
At the end set window to foreground for better user experience with SetForegroundWindow(hWnd);. Without this, application is in background and remains paused, so it looks as if file drop wasn't registered until user goes back to the window.
Drag and drop in the Editor is only supported on Windows at the moment
The text was updated successfully, but these errors were encountered: