Get ClickEvent when clicking on videosurface

This forum is about all development around libVLC.
smartmobili
New Cone
New Cone
Posts: 7
Joined: 02 Nov 2012 09:18

Get ClickEvent when clicking on videosurface

Postby smartmobili » 06 Jan 2015 15:26

Hi,

I am using libvlc on windows through a wxWidgets control and I would like to know if it's possible to be notified when user click on the control ?
For now it seems that all messages are captured once we do libvlc_media_player_set_hwnd()...
My goal is to play a video and at the end of it allow the user to click on left or right of the displayed picture then play a different video in function of user's choice.

Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Get ClickEvent when clicking on videosurface

Postby Jean-Baptiste Kempf » 06 Jan 2015 16:31

You can know that with an extra layer or using a video filter.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 43 guests