Version 2 (modified by 5 years ago) ( diff ) | ,
---|
ExitWithCode ¶
void CForm::ExitWithCode(int nCode)
Parameters ¶
- nCode = return value FORM_RUN will return
Return Value ¶
No return value
Remarks ¶
ExitWithCode cannot exit the form immediately but sets an internal flag value to cause the Form to exit upon its next iteration. If a form done event is specified it will be called with flag FORM_DONE_EVENT_EXTERNAL to allow the form done event to know that the form was ended by code rather than a use action upon the form. The form done event may call GetExitCode to determine what the return code will be.
Example ¶
Note:
See TracWiki
for help on using the wiki.