LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling a mouse cursor in LV window using LV 6.1

Hi, I need to Disable/Enable the mouse cursor programatically in LV Window using LV 6.1
{Mouse cursor can be visible,but should not be activated when it is disabled).Is there any DLL's available?

Regards
Murali
0 Kudos
Message 1 of 4
(2,305 Views)
You can use the EnableWindow function from user32.dll to disable all input in your front panel window. Use the FindWindow function to find the handle. I'm posting an example of this.
There's also the BlockInput function in there, for comparison, but you probably won't want to use that one because it blocks ALL input.

___________________
Try to take over the world!
0 Kudos
Message 2 of 4
(2,296 Views)
Very nice! Were can i find a description for each exported function of user32.dll.
Many thanks

Regards
Neon
0 Kudos
Message 3 of 4
(2,296 Views)
If you have Visual C or Visual Basic you can find it in the help files. IF you don't, look on the Microsoft Developer Network (msdn.microsoft.com) and you'll find all the functions. An easy way to find something is either to search google for the functionality you want ("disable mouse") and for user32.dll (or DLL in general. It might not be in user32.dll) or search the MSDN.

___________________
Try to take over the world!
Message 4 of 4
(2,290 Views)