By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,948 Members | 663 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,948 IT Pros & Developers. It's quick & easy.

disable right-click in vb6?

P: 12
how to disable right click in vb6? because i put a flash document in my form and i want to be it like a touch screeen....so how?
Jan 31 '08 #1
Share this Question
Share on Google+
11 Replies


daniel aristidou
100+
P: 491
how to disable right click in vb6? because i put a flash document in my form and i want to be it like a touch screeen....so how?
UM ...........disabling right click........If there are no events on right click isn't that the same result.......nothing happens when you right click on the mouse?....if your talking about Standard (ie windows in built) context menus on right click......i can't help you in vb6 though someone esle might be able to.
Jan 31 '08 #2

P: 68
how to disable right click in vb6? because i put a flash document in my form and i want to be it like a touch screeen....so how?

Is that Shockwave Flash? then u cann't do anything, becoz there is no event for mouse click.
Jan 31 '08 #3

daniel aristidou
100+
P: 491
Sorry...did wonder what the flash part was.....
Feb 1 '08 #4

lotus18
100+
P: 866
I don't think that you can disable the right-click event of the flash because it is from macromedia corp. (now adobe). If you find a solution to this, please tell me. We have the same problem. : )

Rey Sean
Feb 2 '08 #5

kZero
P: 23
i found this link is very usefull

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=36308&lngWId=1
Feb 2 '08 #6

VACEPROGRAMER
100+
P: 168
OK look. Select the flash object into VB form, get in the object , select on "MOSE DOWN" in the left uper corner and do this:

Dim A As Key
A = vbRightButton

So you can write what you want for the right click

*VACE*
Feb 2 '08 #7

P: 68
OK look. Select the flash object into VB form, get in the object , select on "MOSE DOWN" in the left uper corner and do this:

Dim A As Key
A = vbRightButton

So you can write what you want for the right click

*VACE*
Flash has very few events. There is no event for Mouse.
Feb 2 '08 #8

P: 68
i found this link is very usefull

http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=36308&lngWId=1
Hey,
It works. Thanks....
Feb 2 '08 #9

VACEPROGRAMER
100+
P: 168
Nothing , we are here to help . . .

*VACE*
Feb 3 '08 #10

P: 12
yes it works but only in 1 flash document...how to use that code in multiple flash documents...?
Feb 10 '08 #11

Ali Rizwan
100+
P: 927
Instead of disabling right click.
You can change the settings of flash animation.
I think you have added the control which plays flash animation.

Goto that control's settings and then disable the default menu appears on right click.

Regards
>> ALI <<
Feb 11 '08 #12

Post your reply

Sign in to post your reply or Sign up for a free account.