wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Form/GetExitCode

Version 4 (modified by Don Wilson, 4 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.