wcCallEventHandler( )

Syntax . . Returns . . Rules . . Tips . . Related Topics . . A-Z Index . . Home

Calls a function to handle a given event.

Example

returnValue = wcCallEventHandler(cntrlHandle, "timeoutHandler");

Syntax

int wcCallEventHandler(void *controlHandle, 
                         char *handlerName)
controlHandleThe handle to the control structure.
handlerNameThe name of the event handler to call. Must be the handlerName specified in the wcSetEventHandler( ) call that set up the event handler.

Returns

valueIf successful, returns the value returned by the event handler specified in the handlerName parameter.
Error codeFailure or exception. For a list of possible error codes, see Error Messages.

Rules

Tips

Related Topics

wcSetEventHandler( )


Top of Page . . Syntax . . Returns . . Rules . . Tips . . A-Z Index . . Home