Search found 68 matches: hobj

Return to advanced search

Re: SAPI : change Voice

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 )
by Antonio Linares
Sun Feb 11, 2024 9:40 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 20230

Re: SAPI : change Voice

Hola Antonio : en otro "post https://forums.fivetechsupport.com/viewtopic.php?f=3&t=44174&p=267309&sid=b7b8ffa9cb6514dfee1e45cd3eb81932&sid=b7b8ffa9cb6514dfee1e45cd3eb81932#p267309" uds respondió Dear Jimmy, Reviewing Harbour OLE implementation it seems as t...
by Danielmaximiliano
Sat Feb 10, 2024 2:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 20230

Re: SAPI : change Voice

> but how to get Event to call Function like in MSDN Sample ?

oVoice:__hSink := __axRegisterHandler( oVoice:__hObj, { | x, y | QOut( x, y ) } )
by Antonio Linares
Sat Feb 10, 2024 10:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 20230

Re: SAPI : change Voice

Daniel, Aqui tienes un ejemplo de como usar los eventos con SPVoice para marcar la palabra que se está pronunciando: https://www.youtube.com/watch?v=Y8-yjsRsyvI Esto es lo que debería conseguirse con esta llamada: oVoice:__hSink := __axRegisterHandler( oVoice:__hObj, { | x, y | QOut( x,...
by Danielmaximiliano
Thu Feb 08, 2024 6:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 20230

Re: SAPI : change Voice

Daniel, Aqui tienes un ejemplo de como usar los eventos con SPVoice para marcar la palabra que se está pronunciando: https://www.youtube.com/watch?v=Y8-yjsRsyvI Esto es lo que debería conseguirse con esta llamada: oVoice:__hSink := __axRegisterHandler( oVoice:__hObj, { | x, y | QOut( x, ...
by Antonio Linares
Thu Feb 08, 2024 6:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 20230

Re: SAPI : change Voice

Dear Enrico,

xHarbour does not support "..." syntax, so such line should be:

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

but function __axRegisterHandler() is available in Harbour and not in xHarbour, if I am correct
by Antonio Linares
Thu Feb 08, 2024 1:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SAPI : change Voice
Replies: 69
Views: 20230

Re: how to get Event from ActiveX ?

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...
by Antonio Linares
Tue Jan 30, 2024 6:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to get Event from ActiveX ?
Replies: 1
Views: 440

Re: De xHarbour a Harbour error en TWord

...    Enddo       Release oReplace,oFind,oTexto       RETURN nil  Aunque también he tenido que modificar el método NEW comentando la linea IF ::oWord:hObj == 0 porque daba error METHOD   NEW()  CLASS TWord   ::lWord  := .T.   #IFDEF __XHARBOUR__      TRY        ::oWord := GetActiveObject( ...
by Manuel Aranda
Sun Jul 16, 2023 7:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: De xHarbour a Harbour error en TWord (Resuelto...casi)
Replies: 12
Views: 863

"Name" of TOLE

hi,

when using
Code: Select all  Expand view  RUN
  FWLOG hb_valToExp( oObject)

i got
'__itemSetObj( {{"__HOBJ", <pointer>}}, {{"TOLEAUTO",}} )'

how to get "more" Information about it :?:
by Jimmy
Wed Nov 30, 2022 12:39 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "Name" of TOLE
Replies: 6
Views: 602

Re: PDFCreator en modo "silencioso"

... Creator.", "No se puede seguir")ENDXBrowse( oPDF )  Me muestra 3 datos... cClassname | PDFCreator.PDFCreatorObj hObj | 0xA5FACC oLevalue | <protected> No obtengo ningún dato que necesitaria para poder "ocultar" la aplicación, o la ruta destino, ...
by Xevi
Wed Feb 14, 2018 6:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PDFCreator en modo "silencioso"
Replies: 6
Views: 1489

Re: Libreria rddads

... ulLen ); extern void hb_adsOemAnsiFree( char * pcString ); /* NOTE: Undocumented ACE function. */ UNSIGNED32 ENTRYPOINT AdsSetFieldRaw( ADSHANDLE hObj, UNSIGNED8 * pucFldName, UNSIGNED8 * pucBuf, UNSIGNED32 ulLen ); /* NOTE: Undocumented ACE function. */ UNSIGNED32 ENTRYPOINT AdsGetFieldRaw( ADSHANDLE ...
by CarlosFossati
Thu Sep 22, 2016 10:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Libreria rddads
Replies: 4
Views: 1402

New FTDN April 2015 (FWH 15.04)

... or NIL, width and height are returned in MM If hDC or lScreen, width and height are in pixels for the device context * New function ISENHMETA( hobj ) --> lIsEnhMeta * New: Simple stack implementation though xcommand/xtranlate directives in fivewin.ch: StackPush( v1, v2, ... vn ) StackPeek() ...
by Antonio Linares
Sat Apr 25, 2015 7:44 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN April 2015 (FWH 15.04)
Replies: 6
Views: 3974

Re: Events from OLE

Jose,

Please try this:

__axRegisterHandler( ::&cPropName:__hObj, { || MsgBeep() } )
by Antonio Linares
Thu Aug 14, 2014 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3638

Re: Events from OLE

Antonio,

MsgInfo( ValType( __axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') } ) ) ) shows "P"

FYI,

Jose
by Jose Dolar
Mon Aug 11, 2014 2:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3638

Re: Events from OLE

Jose,

This way:

MsgInfo( ValType( __axRegisterHandler( ::&cPropName:__hObj, {| ...| MsgInfo( 'Test') } ) ) )
by Antonio Linares
Mon Aug 11, 2014 1:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Events from OLE
Replies: 19
Views: 3638
Next

Return to advanced search