Отправлено
Codavr 13 ноября 2009, г. 16:57
В ответ на: void __fastcall Terminate(void) отправлено пользователем
Codavr 13 ноября 2009, г. 16:56
Call Terminate to end the application programmatically. By calling Terminate rather than freeing the application object, you allow the application to shut down in an orderly fashion.
Terminate calls the Windows API PostQuitMessage function to perform an orderly shutdown of the application. Terminate is not immediate.
Terminate is called automatically on a WM_QUIT message and when the main form closes.