sciter-sdk / rust-sciter

Rust bindings for Sciter

Home Page:https://sciter.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File Drag/Drop not working

GirkovArpa opened this issue · comments

I posted a thread here at sciter.com/forums about this. Apparently I have to call OleInitialize, but platform.rs already has a call to that function. Do I need to call it again somewhere?

Update

On Windows, drag and drop is now optional and must be enabled with WindowBuilderExtWindows::with_drag_and_drop(true)

I am not sure if this is important ...

Drag and drop works when the compiled executable in /target is run directly (double-clicking), but not from the command line (cargo run).

I think it would be very helpful to note this somewhere.

Update It's only git bash that causes this problem; cmd.exe does not.

Drag and drop works when the compiled executable in /target is run directly (double-clicking), but not from the command line (cargo run).

There should be no difference, to be honest.