// JP opened flex table

Click to See Complete Forum and Search --> : Exiting an application


Vic Vag
January 10th, 2001, 12:04 PM
I need to exit an application from a different butto than the one already there. I have tried using the application's CloseAllDocuments(TRUE), which is supposed to do that for you , but it does not. It only closes the documents. Passign FALSE instead does not make an inch of difference. The way i have managed is to post a WM_QUIT message to the App. This works but the app actually quits without going through the deconstructurs, givng me loads of memory leaks. Any body know a was round this ?

KpyM
January 16th, 2001, 04:16 AM
try using WM_CLOSE instead of WM_QUIT

//JP added flex table