PDA

Click to See Complete Forum and Search --> : how to disable the right click mouse function after insert flash?


maychia
Feb 7th, 2003, 09:06 AM
I insert flash in my program. do u know how to disable the right click function on the movie?:cool:

Pirate
Feb 7th, 2003, 11:09 AM
I'm afraid it's impossible !

maychia
Feb 7th, 2003, 11:15 AM
:eek:
REALLY??!!!!!!! IMPOSSIBLE??!!!
HOW CAN IT BE?!!!:mad:

Pirate
Feb 7th, 2003, 11:31 AM
Well , it's just a thought but you could(maybe)disable that using javascript or vbscript.

Pirate
Feb 7th, 2003, 11:48 AM
You can hide the cursor before and while viewing the movie , when it come to the end restore it back !

RealNickyDude
Feb 7th, 2003, 01:40 PM
Try putting it on a panel and disableing the panel?

MrPolite
Feb 7th, 2003, 04:02 PM
hehehe, I've done it before, in vb6 though. You have to use the SetCapture API, which I'm trying to figure out how to use it right now...
You call it and you set a picturebox, or something to capture all the mouseclick events, so when the user clicks on the flash thingie, it wont receive the click. Ofcourse you have to disable this when the mouse leaves your form. Umm and this is only useful if you dont have any buttons or anything clickable in your flash.

KimCoder
Apr 5th, 2006, 01:55 AM
Hey there MrPolite...do you have more info on how you did this in VB6? Possibly some source code? :-D I've been trying to accomplish this for a while with no luck!

Thanks in advance!!

The Magic
Jun 13th, 2006, 05:05 AM
Ha Mr.MrPolite please show us an example .

We are waiting ..