I would like to send a warning message before closing my soft when the user press the "X" of the title bar. Is it possible to do that without a Windows dll?
use an event structure, select event <Application> -> 'Application Exit'. Now you know when the user wants to close the window and you are able to show a message or discard the event. You can also forbid window closing in the vi properties -> Window appearance!
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
yes, you're right! I just opened the 'edit events' dialog and clicked through <Application> and <this vi> without moving the scroll bar - so I missedthe 'Panel close' event.
Best regards, GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019