-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Impl drag-drop action for Windows #8959
Conversation
let dragdrop_handler = { | ||
let inner = context.inner.as_ref().unwrap(); | ||
let handler = WindowsDragDropHandler(Rc::clone(inner)); | ||
let dragdrop_handler: IDropTarget = handler.into(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dragdrop
-> drag_drop
@@ -926,3 +1084,6 @@ unsafe fn set_window_long(hwnd: HWND, nindex: WINDOW_LONG_PTR_INDEX, dwnewlong: | |||
SetWindowLongW(hwnd, nindex, dwnewlong as i32) as isize | |||
} | |||
} | |||
|
|||
const DRAGDROP_GET_COUNT: u32 = 0xFFFFFFFF; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this constant come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, it was 2 am when I submitted this PR.
By Microsoft:
If the value of this parameter is 0xFFFFFFFF, DragQueryFile returns a count of the files dropped.
Looks great! If you could resolve some naming and comment issues + get the PR to passing CI and mergable, we can get this in :) |
The spelling check complains about |
You could suppress this warning as documented here |
Description
This is a part of #8809
default.mp4
Release Notes: