| Version 3 (modified by , 5 years ago) ( diff ) |
|---|
GetExitCode
int CForm::GetExitCode(void)
Parameters
None
Return Value
currently set exit code value.
Remarks
GetExitCode may be used after a SetExitCode call has been performed to determine the exit value that will be returned when the FORM_RUN ends. This would usually only be useful during a form done event.
Example
// m_pForm is a pointer already set for the form we want to end
if(m_pForm->GetExitCode() == 123)
{
DEBUG_MSG("Exit code is 123\n");
}
See Also
Note:
See TracWiki
for help on using the wiki.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/cardinal.gif)