how to get Event from ActiveX ?

Post Reply
User avatar
Jimmy
Posts: 1740
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany
Has thanked: 2 times

how to get Event from ActiveX ?

Post by Jimmy »

hi,

i like to hightlight Word as show here
https://www.youtube.com/watch?v=Y8-yjsRsyvI

i need to catch "Word event" of SpVoice, how :?:
Image
greeting,
Jimmy
User avatar
Antonio Linares
Site Admin
Posts: 42584
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 38 times
Been thanked: 86 times
Contact:

Re: how to get Event from ActiveX ?

Post by Antonio Linares »

Dear Jimmy,

Reviewing Harbour OLE implementation it seems as this is the way:

oVoice:__hSink := __axRegisterHandler( oVoice:__hObj, { | x, y | MsgInfo( x, y ) } )

but here in my tests it is not working as expected.

Maybe another Harbour OLE bug ? I am doing some research to find the right way...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply