LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Extended Mouse Event with Chain Control Callback

Hello All,
 
I am having a problem using extended mouse events with the ChainCtrlCallback function.  It seems to me that there may be a bug here in the CVI code, but perhaps I am missing something in my code.  The problem is that I have 2 controls each one with a different chaincallbackctrl function on it and also each one having it's own extendedmouseevents set.  When I left click, no problem, but when my left button goes up the callback for both controls is called, when in reality only a single callback should be called.  I have atached a .zip file with some test code.  Click on one graph, and when the mouse button goes up you will see that the chained callback functions for both the graph and canvas are called.  And vice versa for clicking on the canvas.
 
Suggestions?
0 Kudos
Message 1 of 2
(2,889 Views)
Checking out the forums I saw this post
 
 
that seems to explain what I'm seeing, so I'm all set now.
0 Kudos
Message 2 of 2
(2,854 Views)