For Programmers: Free Programming Magazines  


Home > Archive > VC Language > May 2006 > Button Controls DoubleClick Event.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Button Controls DoubleClick Event.
A. Reza Bemanian

2006-05-25, 7:08 pm

Have coded the delegate and the event service function for button controls on
a WinForm application, the event does not get triggered at all. I also used
the setstyle function to set the standard double click property to true.
Unfortunately was not able to find the proper documentation to enable such
events for the button controls. It seems as one way to do it is by generating
a derived class for the butoon controls, which I suppose generating buttons
with the wrpper class could interfer with the winform design interface. The
other is to use a tick counter, and code it manually in the mouse down event.
Being a bit reluctant to do it manually, the second alternative was selected
in my case. I Was wondering if someone has seen proper documentation for this
problem, or has better suggestions.

Best Regards,
Reza Bemanian
3I Control Systems
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com