04-12-2010 12:19 AM
Hi,
I would like to simulate a button click from Labwindows/CVI code without using the mouse actually click that button.
Let say I have a button call "Send Data" and I try to active this function inside the code (I think similar to SendKey function).
I have done a simulate button click function in Boland C++ long time ago but I could not find any example in LabWindows does this.
Anyone knows about this and please let me know.
Thanks,
wyu
04-13-2010 08:05 AM
Hi Wyu,
When you say simulate a button click, do you mean a mouse click or pressing a button? Assuming you mean the mouse, you can simulate a mouse or key press using the Windows user32.dll. There a lots of examples out there of how to do this.
Cheers,
04-13-2010 08:15 AM
04-13-2010 08:25 AM