C
Claude Gagnon
Hi,
I program with Visual C++ .NET 2003.
I have an application that I want to quit if a specific
date is passed. (the user will not choose Quit in the menu)
I want to terminate the application in the OnClose member
function of my CApplicationView class.
I have tried with various methods like
PostMessage(WM_DESTROY, 0, 0) or PostQuitMessage(0) without success.
Does anybody have suggestions ?
Thanks,
Claude
I program with Visual C++ .NET 2003.
I have an application that I want to quit if a specific
date is passed. (the user will not choose Quit in the menu)
I want to terminate the application in the OnClose member
function of my CApplicationView class.
I have tried with various methods like
PostMessage(WM_DESTROY, 0, 0) or PostQuitMessage(0) without success.
Does anybody have suggestions ?
Thanks,
Claude