Mouse events in ActiveX?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
donq - stuart
New Cone
New Cone
Posts: 7
Joined: 18 Apr 2016 21:14

Mouse events in ActiveX?

Postby donq - stuart » 05 May 2016 14:29

I've got a VB.Net application using the VLC 2.2.2 ActiveX control on a Windows Form.

I want to raise an event whenever the user right-clicks on the VLC panel, so that I can provide a custom context-sensitive menu based on where they are in the movie.

I can't get any sort of event raised from the mouse clicking so far. I've had a look at https://forum.videolan.org/viewtopic.ph ... =87749&e=0 but it seems to be for v1 of the plugin, and all that happens if I try and implement it is that Visual Studio becomes very unstable and crashes whenever I try to do anything; seemingly it doesn't like having a class 'MyAxVLCplugin' that inherits AxAXVLC.AxVLCPlugin2, it seems it's very unhappy about that.

Is there a proper, straightforward way to raise an event in VB.Net if the user clicks (or specifically right-clicks) on the VLC plugin?

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 1 guest