PA_IsActivated

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

version 2003


PA_IsActivated (params) char

ParameterTypeDescription
paramsPA_PluginParametersParameters received in PluginMain
Function resultchar1 = Window is also activated

Description

The routine PA_IsActivated lets the plug-in know if the window is also activated when AreaEvent == eAE_Select. It returns 1 if the window is activated, otherwise it returns 0.

params is the PA_PluginParameters the plug-in received in its PluginMain routine.

This routine returns 0 and sets PA_GetLastErrorto eER_BadEventCall if it is not called at eAE_Select event.

See Also

Create and use an external area, PA_IsDeActivated.

Error Handling

Use PA_GetLastError to see if an error occurred (eER_BadEventCall)


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