Hey, I'm using the Window Mesage Queue library that NI provides, and I'm trying to get it so that when you hit "X" it asks you to confirm that you'd like to close the program.
The problem is, I don't know which message is that "X" button.
I've tried x0010, and x0012, which are WM_CLOSE and WM_QUIT respectively. x0011 is for shutting down the computer, so I know it's not that one.
I think that perhaps it is either x0010 or x0012, but the "X" sneaks through and Windows takes care of it before LabVIEW has a chance to do anything about it.
Does anybody know how to do this?
-Dobbs