AXVLCPlugin2 in VS2010 no mouse click events?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
chill
New Cone
New Cone
Posts: 1
Joined: 11 Dec 2010 18:16

AXVLCPlugin2 in VS2010 no mouse click events?

Postby chill » 14 Dec 2010 02:55

Version: 1.1.5 The Luggage Visual Studio 2010 Visual Basic

Ok, this has been driving me crazy... is there anyway to capture a mouseclick event using the plugin? I couldn't find one and every workaround I can think of (trying to place transparent controls over the top) hasn't worked well either... Of course if the plugin would let me capture the click or double click or even mousedown/mouseup then it'd be simple.

From the toolbox drag the control to a form.... select the control to add a mouseclick or mousedoubleclick event

Private Sub AxVLCPlugin_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles AxVLCPlugin21.MouseClick
MessageBox.Show("test")
End Sub

and the following error is produced stating the plugin does not support the event:
An error occurred creating the form. See Exception.InnerException for details. The error is: Event MouseClick is not valid on this ActiveX control.

Does anyone have a good idea or workaround? Is this the right forum for this?

Thank you,
Chris

BTW - very, very awesome tool. I LOVE VLC!!!!

VlcUser1982
New Cone
New Cone
Posts: 4
Joined: 13 Jan 2011 22:06

Re: AXVLCPlugin2 in VS2010 no mouse click events?

Postby VlcUser1982 » 13 Jan 2011 22:39

I was wondering the same thing. Did you ever figure it out?

Side question: how did you generate the AxAXVLC.dll for your project? I am wanting to upgrade to VLC 1.1.5, but can't because I don't know how to generate the new DLL!

tcc
Blank Cone
Blank Cone
Posts: 93
Joined: 24 Feb 2009 03:41

Re: AXVLCPlugin2 in VS2010 no mouse click events?

Postby tcc » 16 Jan 2011 16:44

AFAIK the control does not expose any interfaces for handling mouse events. If it did, they would be picked up and listed in VStudio. The control processes mouse double-click though which toggles full screen.

Deniz
New Cone
New Cone
Posts: 4
Joined: 18 Feb 2011 21:34

Re: AXVLCPlugin2 in VS2010 no mouse click events?

Postby Deniz » 19 Feb 2011 11:00

Where you able to solve the problem?
I am using v1 instead v2 (what is the difference anyhow?)

I can't use the click-event in both versions. In fact: NO event works.

See my post for a workaround
viewtopic.php?f=14&t=87749&e=0

activex notsupportedexception was unhandeld

masiton
New Cone
New Cone
Posts: 2
Joined: 28 Mar 2017 00:01

Re: AXVLCPlugin2 in VS2010 no mouse click events?

Postby masiton » 28 Mar 2017 00:27

As of 2017 state of affairs regarding mouse events is unchanged. One of the workarounds is to display invisible window over the video overlay to catch mouse events and run code behind accordingly.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: AXVLCPlugin2 in VS2010 no mouse click events?

Postby Rémi Denis-Courmont » 28 Mar 2017 21:45

The ActiveX plugin is not very actively maintained, partly because interesting native web plugins is waning, and partly because it has not had a paid developper for many years. (Though both issues may be somewhat correlated.)

If this is a problem for you, you are more than welcome to contribute patches or hire somebody else to do so.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

s.rehmanali
New Cone
New Cone
Posts: 2
Joined: 08 Jul 2019 14:04

Re: AXVLCPlugin2 in VS2010 no mouse click events?

Postby s.rehmanali » 10 Nov 2019 08:01

@Remi is there a way I can provide my support to update the library. Can you provide me the official link for the axvlcplugin2 lib github link?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 105 guests