Replies: 1 comment
-
|
I mainly tested in WinUI 3/C# and WebView2 COM interfaces, but I've been helped by MS samples from https://github.com/MicrosoftEdge/WebView2Samples/tree/main/SampleApps |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I have a Win32 based application using WebView2. We want to allow the user to drag some files from their desktop. There are different hit areas for what will happen based on their drag (e.g on the left side, we import immediately, on the right side, we add to a list)
Of course with
add_NewWindowRequestedwe get a notification when the drop has completed, but there is nox, ydata associated. This is also very sub par since there is no realtime feedback.Using the
ICoreWebView2CompositionController3I see we can orchestrate the drag & drop events ourselves, however I cannot get the composition controller to draw any web content. I do not see how to use Win32 andput_RootVisualTargetsuccessfully together. What am I missing here? What are my options?Also concerning to see all of the other bug reports in web runtime behavior that the composition controller has filed against it...
Beta Was this translation helpful? Give feedback.
All reactions