disable right-click in vb6?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lightyagami
    New Member
    • Jan 2008
    • 12

    disable right-click in vb6?

    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?
  • daniel aristidou
    Contributor
    • Aug 2007
    • 494

    #2
    Originally posted by lightyagami
    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 ...........disa bling right click........If there are no events on right click isn't that the same result.......no thing 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.

    Comment

    • shuvo2k6
      New Member
      • Jan 2008
      • 68

      #3
      Originally posted by lightyagami
      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.

      Comment

      • daniel aristidou
        Contributor
        • Aug 2007
        • 494

        #4
        Sorry...did wonder what the flash part was.....

        Comment

        • lotus18
          Contributor
          • Nov 2007
          • 865

          #5
          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

          Comment

          • kZero
            New Member
            • Nov 2006
            • 23

            #6
            i found this link is very usefull

            http://www.planetsourc ecode.com/vb/scripts/ShowCode.asp?tx tCodeId=36308&l ngWId=1

            Comment

            • VACEPROGRAMER
              Banned
              New Member
              • Nov 2007
              • 167

              #7
              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*

              Comment

              • shuvo2k6
                New Member
                • Jan 2008
                • 68

                #8
                Originally posted by VACEPROGRAMER
                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.

                Comment

                • shuvo2k6
                  New Member
                  • Jan 2008
                  • 68

                  #9
                  Originally posted by kZero
                  i found this link is very usefull

                  http://www.planetsourc ecode.com/vb/scripts/ShowCode.asp?tx tCodeId=36308&l ngWId=1
                  Hey,
                  It works. Thanks....

                  Comment

                  • VACEPROGRAMER
                    Banned
                    New Member
                    • Nov 2007
                    • 167

                    #10
                    Nothing , we are here to help . . .

                    *VACE*

                    Comment

                    • lightyagami
                      New Member
                      • Jan 2008
                      • 12

                      #11
                      yes it works but only in 1 flash document...how to use that code in multiple flash documents...?

                      Comment

                      • Ali Rizwan
                        Banned
                        Contributor
                        • Aug 2007
                        • 931

                        #12
                        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 <<

                        Comment

                        Working...