Simply add this line at the top:
static aEvents := {}
and then use this:
oVoice:__hSink = __axRegisterHandler( oVoice:__hObj, { | ... | AAdd( aEvents, { ... } ) } )
Finally, after the dialog, do:
XBrowser( aEvents )
FWLOG hb_valToExp( oObject)
'__itemSetObj( {{"__HOBJ", <pointer>}}, {{"TOLEAUTO",}} )'