LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with "Extended Mouse Events"

I want to make a zoom-function in my graphcontrol! Just want to activate the zoom option with a button and afterwards I can move a rectangle holding the left mousebutton down and move the mouse in my graphcontrol!!!everything works fine with win95/98!!!

But on WinNt/2000 if I start the extended mouse events with the function "EnableExtendedMousevents" the systemressources of the CPU always becomes 100%!! Can see it with taskmanager! If I disable the extended mouse events the systemresources remains at 100%! I have to discard this Panel to get the systemresources down again!!! Just watched through the functions I can see that EnableExtendedMousevents starts a Thread!This thread always calls a callbackfunction to get al
l the mouse infos!!! but wenn I disable the extended mouse events this callback function stays activ and is high frequently called!!!
I have to discard this Panel to remove this callback function!!!

Can anyone help me!!Just want to know how I can remove this callback when calling "DisableExtendedMouseevent!

Thanks a lot for your help

chris
0 Kudos
Message 1 of 2
(2,837 Views)
This behavior of the system resources reminaing high and the continuous callbacks remaining after calling DisableExtendedMouseEvents has been documented in the current version of the Programmer's Toolbox in CVI and is slated for a fix in the next revision, CVI 6.0.

Jason Foster
Applications Engineer
National Instruments
www.ni.com/ask
0 Kudos
Message 2 of 2
(2,837 Views)