Button

Hi

I have a button on my dialog and I want to capture a double click of it.
From class wizzard I have created a funtion that captures the BN_DOUBLECLICK
but for some reason the function never gets executed as I have put a break
point and tried to debug it. Can anyone Let me know if I need to add some
extra code.

Cheers

Matty.
[370 byte] By [developer-network] at [2007-11-16 2:17:26]
# 1 Re: Button
If you have function for BN_CLICKED function for BN_DOUBLECLICK will never be call. Reason:
When you make a dblclick first click launch BN_CLICKED message

I hope thsi will help you

Regards,
Ovidiu
Burlacu Ovidiu at 2007-11-10 4:21:55 >
# 2 Re: Button
I've tried this and never got it to work either, you can detect the double click in the dialog itself but not on a button.

Spy++ shows the event occuring but it never gets handled.

Concensus here was that you don't normally double click a button.

Stew
Stew Davies at 2007-11-10 4:22:55 >