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

FORM_DONE_EVENT_EXTERNAL

FORM_DONE_EVENT_EXTERNAL is a defined value for the nData variable in a form done event to indicate the form was exited by means of the application code calling CForm::ExitWithCode.

Example

EVENT(InputDone) 
{
   if(nData == FORM_DONE_EVENT_EXTERNAL)
   {
       DEBUG_MSG("Form exit cause by ExitWithCode code = %d\n", pForm->GetExitCode());
   }
   return 1;
}

See Also

Last modified 4 years ago Last modified on 09/29/20 12:16:34
Note: See TracWiki for help on using the wiki.