The widgets framework will call the PFNHANDLER with the same parameters normally passed into a BREW event handler, and additionally passes an extra parameter that identifies a pointer to private data owned and managed by the application. The custom event handler may use this pointer to access private data that has been created by the object implementing the handler interface.
pCxt: A pointer to private data allocated and managed by the caller that has registered the event handler. This data pointer is passed into the event handler, providing the callback with access to this private storage.
evt: The event code being sent into the event handler.
wParam: 16-bit event-specific parameter.
dwParam: 32-bit event-specific parameter.
TRUE -- The custom event handler was able to handle the event. FALSE -- The event was not handled by the custom event handler.
typedef boolean (*PFNHANDLER)(void *pCxt, AEEEvent evt, uint16 wParam, uint32 dwParam);