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. Database & SysAdmin
  3. System Admin
  4. Mouse Button Messages

Mouse Button Messages

Scheduled Pinned Locked Moved System Admin
jsonquestion
3 Posts 2 Posters 4 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.
  • R Offline
    R Offline
    Roger Wright
    wrote on last edited by
    #1

    I know from all the standard written works of art that the Windows API knows about such things as WM_LBUTTONDOWN and WM_RBUTTONUP, but there are three-button desk rodents out there. Does the API define WM_MBUTTONDIDDLE or some such equivalent?

    M 1 Reply Last reply
    0
    • R Roger Wright

      I know from all the standard written works of art that the Windows API knows about such things as WM_LBUTTONDOWN and WM_RBUTTONUP, but there are three-button desk rodents out there. Does the API define WM_MBUTTONDIDDLE or some such equivalent?

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      There's WM_MBUTTONxxx for the middle button (#3), and WM_XBUTTONxxx for all buttons after the third. The WM_XBUTTONxxx messages send an id to indicate which button was pressed. --Mike-- "Everyone has figured out what 'service pack' really means, so they had to go and change the language. Perhaps this is what Bill was talking about in the 'security is top priority' letter."   -- Daniel Ferguson, 1/31/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

      R 1 Reply Last reply
      0
      • M Michael Dunn

        There's WM_MBUTTONxxx for the middle button (#3), and WM_XBUTTONxxx for all buttons after the third. The WM_XBUTTONxxx messages send an id to indicate which button was pressed. --Mike-- "Everyone has figured out what 'service pack' really means, so they had to go and change the language. Perhaps this is what Bill was talking about in the 'security is top priority' letter."   -- Daniel Ferguson, 1/31/2002 My really out-of-date homepage Sonork - 100.10414 AcidHelm Big fan of Alyson Hannigan.

        R Offline
        R Offline
        Roger Wright
        wrote on last edited by
        #3

        Ah, I see. Thanks, Mike!

        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