DynaControl::SetEventCallback

Description

Associates a global event with the control, which is called when a particular node does not have an associated event

Syntax

BOOL SetEventCallback( PDYNAEVENT_FUNC pfnEvent, PEVENT_GETN pfnNew = NULL )


Parameters

pfnEvent
global function ponter of type PDYNAEVENT_FUNC to be associated as event-callback
pfnNew

Return

returns non zero if successful.