LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
m_m_m

Handling events from outside LabVIEW

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

I would like to receive events that are generated by another program in LabVIEW executables. For example if another program tries to close my application with "CloseMainWindow" (see https://msdn.microsoft.com/en-us/library/system.diagnostics.process.closemainwindow(v=vs.110).aspx) it is not possible to react on that event and the application is closed immediately.

It would be great to receive such an event in the LabVIEW event handler to make it possible to ask the user if the application should be terminated, files saved, close openend ressources etc. (like the events "Application Instance Close?" (http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/app_app_exitq/) or "Panel close?" (http://zone.ni.com/reference/en-XX/help/371361G-01/lvprop/vi_panel_closeq/))

 

1 Comment
Darren
Proven Zealot
Status changed to: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined.