Hi,
I want to be able to intercept a Close message initiated by the user right-clicking my apps taskbar button and selecting Close from the resulting context menu. The button in question is the one that is created when a CVI executable first runs, i.e. not one directly associated with a CVI panel. I think it relates to something called a frame window which has a class name "CVIRTLVFrame4194304".
At the moment when the user does this, my app closes immediately without any the confirmation popups that I have chosen to present when other methods of exiting are used.
I think what I need to do is intercept the Windows message (WM_CLOSE ?) before it is handled by the default window procedure and route it to my own callback, rather than let the default windows procedure simply end the task.
Can anyone give me any guidance?
Thanks
Jamie