Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable double click on quicktime control

Status
Not open for further replies.

Xancholy

Technical User
May 6, 2008
1
CA
Need some help from the gurus on these forums.

My question is : How can I disable click/doubleclick on the quicktime control. I would like movie to be controlled exclusively from my own buttons.

I am trying to create a simple vb.net media player using quicktime.

After installing quicktime, I have added a quicktime qtocontrol.dll to my vb.net toolbox, dragged it onto my form.

I've included in my code
Code:
Imports QTOControlLib
Imports QTOLibrary

I then get it to open a movie in the form load event

Code:
AxQTControl1.URL = "c:\videos\movie.mpg"
AxQTControl1.AutoPlay = True

Clicking/Double clicking on the quicktime control stops and starts the movie. This is undesirable as I need to control the movie from my own player buttons.


Thanks for any help.
 
I solved this (in C++) by setting the Disabled property to true - select the control in your form and check out the properties if you have something similar in VB.net - have never used it myself.

Regards,
Lisbeth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top