Skip to content
This repository has been archived by the owner on Jan 21, 2022. It is now read-only.

Not supporting events? #289

Closed
runtu9527 opened this issue Aug 29, 2017 · 4 comments
Closed

Not supporting events? #289

runtu9527 opened this issue Aug 29, 2017 · 4 comments

Comments

@runtu9527
Copy link

VlcControl vlc = sender as VlcControl;
vlc.PreviewMouseDown += vlc_PreviewMouseDown;
vlc.MediaPlayer.AllowDrop = true;
vlc.MediaPlayer.DragDrop += MediaPlayer_DragDrop;
vlc.MediaPlayer.Click += MediaPlayer_Click;

None of these events can be triggered

@iHimiko
Copy link

iHimiko commented Sep 8, 2017

Yes, it doesn't work, because in Vlccontrol video rendered the Directx tools

@runtu9527
Copy link
Author

Is there any way to solve this problem?

@jeremyVignelles
Copy link
Collaborator

maybe you could try putting an overlay window over the player, but that could be hard to do. see #296 for info about the airspace issue and a possible workaround of it. I can't think about another alternative right now, and I didn't test that solution either

@jeremyVignelles
Copy link
Collaborator

This answer presents a workaround for the airspace issue : https://stackoverflow.com/questions/5978917/render-wpf-control-on-top-of-windowsformshost/23662410#23662410

Please reopen if you need something else.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants