CharlieF Posted August 28, 2007 Report Posted August 28, 2007 Hi, I wanted to ask if or how it is possible to recognize if the "close-X" is pressed in the external window that IMAQ Winddraw creates. The Winddraw function is opened via a control in a grab-loop and i want to set this control to false when the X is pressed. Greets, CharlieF Quote
AndyDm Posted August 28, 2007 Report Posted August 28, 2007 ZITAT(CharlieF @ Aug 27 2007, 05:22 PM) I wanted to ask if or how it is possible to recognize if the "close-X" is pressed in the external window that IMAQ Winddraw creates. Hi, Charlie, Probably IMAQ WindLastEvent will help you. Just poll Close Event, then you will receive Close Window signal: http://forums.lavag.org/index.php?act=attach&type=post&id=6771 http://forums.lavag.org/index.php?act=attach&type=post&id=6772 Quote
CharlieF Posted August 28, 2007 Author Report Posted August 28, 2007 Yep, i just went through all the functions again and came across IMAQ WindLastEvent and it works fine. But anyways thanks for the quick answer. greets, CharlieF. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.