version 2003
PA_IsActivated (params) char
Parameter | Type | Description | |
params | PA_PluginParameters | Parameters received in PluginMain | |
Function result | char | 1 = 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)