LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to control cursor setting programatically ?

Hi ,
How can I control cursor setting i.e if I want to programatically display On & OFF the cursor or if I want to disable and enable it programatically then what should I do plz tell me .
subrata
0 Kudos
Message 1 of 2
(3,139 Views)
Howdy embedded,

If I am understanding correctly, then you could check out the SetCursorAttribute() function and set the ATTR_CURSOR_ENABLED property. For example, to disable the cursor you could say

SetCursorAttribute (panel, PANEL_GRAPH, 1, ATTR_CURSOR_ENABLED, 0); 

Hope this helps!

Best Regards,
Jonathan N.
National Instruments
0 Kudos
Message 2 of 2
(3,129 Views)