PA_DontTakeEvent

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next

version 2003


PA_DontTakeEvent (params)

ParameterTypeDescription
paramsPA_PluginParametersParameters received in PluginMain

Description

If you do not take an area event, call PA_DontTakeEvent to instruct 4th Dimension to handle it.

PA_DontTakeEvent is usually called in the "default" switch of the event dispatch; in a main area routine.

Example

Usual call to PA_DontTakeEvent.

   void MyArea (PA_PluginParameters params)
   {
      PA_AreaEvent   event;
      event = PA_GetAreaEvent(params);
      switch(event)
      {
         case eAE_AreaInit:
            DoMyAreaInit(params);
            break;
         case eAE_AreaDeinit(params);
            DoMyAreaDeini(params);
            break;
         case eAE_MouseDown:
            HandleMouseDown(params);
            break;
      /* . . .case other events . . . */

         default:
            PA_DontTakeEvent(params);
            break;
      }
   }

4D - Documentation   Français   English   German   4D Plugin API, Command Theme List   4D Plugin API, Command Alphabetical List   Back   Previous   Next