Double Click

This is a discussion on Double Click within the Windows Programming forums, part of the Platform Specific Boards category; According to MSDN, the event for the left double click is WM_LBUTTONDBLCLK, but my program doesn't seem to respond to ...

  1. #1
    Budding Synth Programmer samGwilliam's Avatar
    Join Date
    Feb 2002
    Location
    Trefforest
    Posts
    368

    Double Click

    According to MSDN, the event for the left double click is WM_LBUTTONDBLCLK, but my program doesn't seem to respond to any code handling this message. All other messages work fine...
    MSVC++ 6.0

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Make sure you set the CS_DBLCLKS style bit when you register the window class (see WNDCLASSEX style parameter).
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #3
    Budding Synth Programmer samGwilliam's Avatar
    Join Date
    Feb 2002
    Location
    Trefforest
    Posts
    368
    Excellent stuff. Thanks...
    MSVC++ 6.0

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need some help...
    By darkconvoy in forum C Programming
    Replies: 32
    Last Post: 04-29-2008, 03:33 PM
  2. expected primary expression
    By mju4t in forum C Programming
    Replies: 2
    Last Post: 03-27-2007, 06:59 PM
  3. Help with multi function progam
    By WackoWolf in forum C Programming
    Replies: 22
    Last Post: 10-13-2005, 02:56 AM
  4. error message, what does it mean?
    By Shy_girl_311 in forum C++ Programming
    Replies: 5
    Last Post: 11-09-2001, 08:54 PM
  5. Hi, could someone help me with arrays?
    By goodn in forum C Programming
    Replies: 20
    Last Post: 10-18-2001, 09:48 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21