Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. right click

right click

Scheduled Pinned Locked Moved Visual Basic
csharphelpquestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    farah mazhar
    wrote on last edited by
    #1

    how can i send a right click event to my application and more over can i get any help how can i simulate double click event in that same application.I want help in VB.net for these events any clue how can i impliment them farah

    C F 2 Replies Last reply
    0
    • F farah mazhar

      how can i send a right click event to my application and more over can i get any help how can i simulate double click event in that same application.I want help in VB.net for these events any clue how can i impliment them farah

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Why do you want to ? Send them from where ? The obvious thing to do is to write a method that is called by your right click event, and call it when ever else you need to.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      1 Reply Last reply
      0
      • F farah mazhar

        how can i send a right click event to my application and more over can i get any help how can i simulate double click event in that same application.I want help in VB.net for these events any clue how can i impliment them farah

        F Offline
        F Offline
        farah mazhar
        wrote on last edited by
        #3

        i just want to code a right click that works the same way as normal right click funtion does that is when i right click on any control in VB.net or over any where else outside my VB.net application it performs the right click function i want to write the code in VB.net but i am new to VB.net environment so i am having problem in coding it and i am also having problem to code double click event too . farah

        C 1 Reply Last reply
        0
        • F farah mazhar

          i just want to code a right click that works the same way as normal right click funtion does that is when i right click on any control in VB.net or over any where else outside my VB.net application it performs the right click function i want to write the code in VB.net but i am new to VB.net environment so i am having problem in coding it and i am also having problem to code double click event too . farah

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          I suspect you need to use p/invoke to simulate right clicks. I don't know that the framework lets you. Your question the second tme is different to the first time. Also, why are you having problems with the double click event ? What bit is the problem?

          farah mazhar wrote:

          but i am new to VB.net environment

          Sounds like a classic case of someone picking up a compiler and trying to use it without learning how first. What are you trying to write that your first VB project needs to simulate right clicks across the entire system ?

          Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          F 1 Reply Last reply
          0
          • C Christian Graus

            I suspect you need to use p/invoke to simulate right clicks. I don't know that the framework lets you. Your question the second tme is different to the first time. Also, why are you having problems with the double click event ? What bit is the problem?

            farah mazhar wrote:

            but i am new to VB.net environment

            Sounds like a classic case of someone picking up a compiler and trying to use it without learning how first. What are you trying to write that your first VB project needs to simulate right clicks across the entire system ?

            Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

            F Offline
            F Offline
            farah mazhar
            wrote on last edited by
            #5

            yes you right i want my right click to work over the whole system through VB.net program farah

            C 1 Reply Last reply
            0
            • F farah mazhar

              yes you right i want my right click to work over the whole system through VB.net program farah

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              I know. I was hoping when I saw your reply that you'd actually answered the questions I asked you.

              Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups