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. C / C++ / MFC
  4. Mouse Right Click

Mouse Right Click

Scheduled Pinned Locked Moved C / C++ / MFC
questionhelp
4 Posts 3 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.
  • M Offline
    M Offline
    MsmVc
    wrote on last edited by
    #1

    Hi All I have a question about mouse right click.I want to do if mouse right click on MyComputer Drive(C:\,D:\,...) then Message Show of Drive Name. User click on C:\ drive then message show C and if user click on D:\ drive then message show D. Is it possibel?If yes then how can i do? Plz help me

    S J 2 Replies Last reply
    0
    • M MsmVc

      Hi All I have a question about mouse right click.I want to do if mouse right click on MyComputer Drive(C:\,D:\,...) then Message Show of Drive Name. User click on C:\ drive then message show C and if user click on D:\ drive then message show D. Is it possibel?If yes then how can i do? Plz help me

      S Offline
      S Offline
      sudhir_Kumar
      wrote on last edited by
      #2

      Do you need this implimentation in Explorer window?

      -@SuDhIrKuMaR@-

      M 1 Reply Last reply
      0
      • S sudhir_Kumar

        Do you need this implimentation in Explorer window?

        -@SuDhIrKuMaR@-

        M Offline
        M Offline
        MsmVc
        wrote on last edited by
        #3

        can you give me API or example for this.. Plz help me

        1 Reply Last reply
        0
        • M MsmVc

          Hi All I have a question about mouse right click.I want to do if mouse right click on MyComputer Drive(C:\,D:\,...) then Message Show of Drive Name. User click on C:\ drive then message show C and if user click on D:\ drive then message show D. Is it possibel?If yes then how can i do? Plz help me

          J Offline
          J Offline
          Jijo Raj
          wrote on last edited by
          #4

          Seems you are trying to integrate "something" into explorer's context menu. Whatever it may be, you've to modify explorer's context menu. 1) One method is to write shell extension to implement IContextMenu. Refer this excellent article by Michael Dunn[^]. 2) if you want to do it in very simple method without writing shell extension, then modify registry to add a specific menu item to shell which will execute your specified executable on clicking. Check the "Explorer Context Menu" section in this link[^]. Regards, Jijo.

          _____________________________________________________ http://weseetips.com[^] Visual C++ tips and tricks. Updated daily.

          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