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. WM_LBUTTONDBLCLK not coming ?

WM_LBUTTONDBLCLK not coming ?

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
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.
  • I Offline
    I Offline
    insanely420
    wrote on last edited by
    #1

    Greetings... I have a custom drawn window in a dialog box. In the window procedure I am not able to trap WM_LBUTTONDBLCLK, the message is not coming only. I am getting WM_ONLBUTTONDOWN ? Any suggestions on how to get WM_LBUTTONDBLCLK. Thanks in advance. Ritesh

    V A 2 Replies Last reply
    0
    • I insanely420

      Greetings... I have a custom drawn window in a dialog box. In the window procedure I am not able to trap WM_LBUTTONDBLCLK, the message is not coming only. I am getting WM_ONLBUTTONDOWN ? Any suggestions on how to get WM_LBUTTONDBLCLK. Thanks in advance. Ritesh

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      That is weird. What does the code in the message queue looks like in your dialog box i.e. ON_COMMAND, etc? Kuphryn

      1 Reply Last reply
      0
      • I insanely420

        Greetings... I have a custom drawn window in a dialog box. In the window procedure I am not able to trap WM_LBUTTONDBLCLK, the message is not coming only. I am getting WM_ONLBUTTONDOWN ? Any suggestions on how to get WM_LBUTTONDBLCLK. Thanks in advance. Ritesh

        A Offline
        A Offline
        alex barylski
        wrote on last edited by
        #3

        Is the CS_DBLCLKS specified in the WNDCLASS.style of your control...? Just a thought :) "An expert is someone who has made all the mistakes in his or her field" - Niels Bohr

        I 1 Reply Last reply
        0
        • A alex barylski

          Is the CS_DBLCLKS specified in the WNDCLASS.style of your control...? Just a thought :) "An expert is someone who has made all the mistakes in his or her field" - Niels Bohr

          I Offline
          I Offline
          insanely420
          wrote on last edited by
          #4

          Well...CSDBLCLICKS in my wndclass during RegisterWindowEx solved the problem. Thannks for the suggestion Ritesh

          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