Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

How to close CVI dialog window programmatically

$
0
0

I'm using CVI_AppOpenProject to open up CVI prj on automated tester but if a CVI
dialog window pops up then the window sits there waiting for the operator action defeating the purpose of automation (ie if relative paths change) .

I tried launching a thread to monitor fordialog windows using CVI_AppGetCVIState and using
keybd_event, but I can't bring focus of the CVI window to the foreground.  9There are other apps running on the foreground)

I looked at CVI_AppFakeKeystrokes but dont know how to use it (how to declare and populate a SAFEARRAY). Any suggestions or
examples to solve this problem are much appreciated. Thank you.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>