LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Double-click in table generates two single-click events

I have a table that with a callback function installed using "InstallCtrlCallback" that is supposed to respond to double-click events. However, no matter how fast I double-click, LabWINDOWS sees two single-clicks. This includes progamming a five-button mouse with a button assigned to a double-click.
Why doesn't LabWINDOWS see a left double-click?
0 Kudos
Message 1 of 2
(3,171 Views)
When I click in a table for which I called InstallCtrlCallback, I get a single EVENT_LEFT_CLICK followed by an EVENT_LEFT_DOUBLE_CLICK. The panel also gets an EVENT_LEFT_CLICK. Is this the second EVENT_LEFT_CLICK you're counting?
What version of CVI and operating system are you using? I tried this with CVI 6.0 and 7.1 under Windows 2000.
Look at the attached example which just counts clicks in the table.
0 Kudos
Message 2 of 2
(3,159 Views)