LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with virtual keyboard, CVI numeric Marks input on WM_KILLFOCUS and WM_SETFOCUS

We want to use the virtual keyboard from MountFocus http://www.mountfocus.com/
We have problem to enter numbers to numerics. Sometimes the input is marked and replaced by the current character. The problem is the sequence of WM_KILLFOCUS and WM_SETFOCUS.
After that CVI marks the last input. This behaviour is only with numerics.

Is there any solution for this problem.

Regards Martin
0 Kudos
Message 1 of 2
(3,130 Views)
If your numerics control is on a CVI top level panel, that has a WIN32 windows handle, you could get that handle and try to write a WIN32 callback function for that panel that filters the obstructing events before they are passed to the CVI runtime. I have done something like that to implement drag-and-drop functions for a CVI application. If it works, you can try to refine your filter to handle input for numerics on child panels, watching the CVI panel and control focus carefully.
0 Kudos
Message 2 of 2
(3,130 Views)