LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a trick to doing Mouse Over?

Does someone have a technique for doing, essentially, a Mouse Over event? (It would be nice if there was an EVENT_MOUSE_OVER for controls. Hint, hint!)

The sample program, moustate, does a poor job of simulating Mouse Over, and appears to have errors in it anyway.

I have a project with a very large GUI, multiple panels using EasyTab, and would like to use Mouse Over to identify controls.

If one were to fix the sample program, so that it properly identified cursor position and correlated that to all the controls on a panel, could one run the timer and the corrected program in a separate thread?

Thoughts?
0 Kudos
Message 1 of 2
(3,462 Views)
Hello,

I would check out the following thread. It posts suggestions on how to programmatically detect when the mouse moves over a control by using the MOUSE_MOVE event. It also highlights that a similar technique is used in the control tooltip code. The tooltip code is open source and is found in the toolslib/toolbox folder in the toolbox instrument.

Hope that helps.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 2 of 2
(3,427 Views)