05-14-2009 08:47 AM
Hi Steve,
Thanks to let me know if you have an answer from Austin. I think you misunderstood me I'm not using C# environment, I want to do the full operation with LabVIEW.
Have a good day.
Clément
05-15-2009 05:12 AM
Hi,
Sorry about the misunderstanding, in fact I thought that you were able to develop your own dll according to the msdn forum, that you call then in LV.
It is clear now but I need some informations particulary I have to know if this behaviour is needed for your application or a customer's application and how critical is this behavior to your application or your customer's application ?
Regards,
05-15-2009 07:15 AM
Hi steve,
No problems for the misunderstanding. The behavior I'm trying to get, is really important for me. I'm developping some tools to be used with touch screen panels. We often ship equipements to our customer using touch screen panels. I'm making tools to be used everytime we are making a test bench with touch screens, so yes it's quite critical...
I'm making some kind of personalized virtual keyboard, the goal when we mount touch panels is of course not to use a keyboard or a mouse. I need to be able to click to controls on a main application and to modify its value with my virtual keyboard. I could figure out a trick with controls by getting references to all the controls and giving back focus to them with a property node. The main problem is coming with the graphs:
If you want to change the scales by double cliking on it, you need to keep focus on the minimum or maximum scale to be able to change their value, and there is no property node to give back focus to the scales...
Did you get any answer from the private forum ?
Thanks.
Best regards,
Clément
05-20-2009 01:51 AM
Hi Steve,
Hope you doing well. Any feedback from the US ?
There might be a way to do the functionality using control subclassing. I'm not sure this is achievable directly from LabVIEW using only win32 API calls. Interesting information and possible solutions are explained in the link below:
Windows Message Handling - Part 4: Subclassing
These solutions are working for SDK and MFC programs. Could you ask the US if this solution is adaptable to LabVIEW.
Thanks
Have a good day
Regards,
Clément
06-03-2009 08:40 AM - edited 06-03-2009 08:41 AM
Hi Clément,
Sorry for the late reply I was not at the office during those days.
After doing some research we found that you can use the VIs attached in this example particulary the Make Window Always on Top.vi wich looks like the most promising in WINUTIL.LLB. Please take some time to experiment these Vis and let me know what happens.
Best Regards,
06-03-2009 08:53 AM
Thanks Steeve to get back into action...
I know the Winutil LLB and what can be done with it. Basically calling the user32.dll and make the window being always on top doesn't prevent it from loosing focus or taking focus from another window. Unfortunatly this will not help.
I think the only way might be the hook technic, but I'm not sure it can be achieved with LabVIEW.
Regards,
Clément