NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Intercept LabWindows/CVI CLOSE event

Solved!
Go to solution

In my LabWindows UI the user can click the X on the top right to quit the application.

I'd like to intercept that message to do various things before it gets to the TestStand Engine.

 

I tried to use InstallWinMsgCallback for a WM_QUIT and WM_CLOSE but it doesn't get called.     

 

Thanks,

Ronnie

TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 1 of 2
(3,336 Views)
Solution
Accepted by topic author Believer
OK - I figured it out - it's the EVENT_CLOSE generated by the MainPanelCallback.
TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 2 of 2
(3,334 Views)