Search found 15 matches: cactivex

Return to advanced search

Re: Language C ( To Antonio )

Lailton,

Create the Class this way:

CLASS cActiveX FROM TControl
...
by Antonio Linares
Sun Jul 26, 2009 8:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Language C ( To Antonio )
Replies: 17
Views: 2814

Language C ( To Antonio )

... igual ao @ 0,0 ActiveX oact ....... @ 1,1 cActive oct id progid of ownd width 300 height 400 i sobre o Ownd:oClient = activex ? como hacer com cActiveX ? :?:
by lailton.webmaster
Sat Jul 25, 2009 2:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Language C ( To Antonio )
Replies: 17
Views: 2814

Re: cActiveX ( To antonio )

bien :-)
by Antonio Linares
Fri Jul 24, 2009 5:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Re: Erro 9000:

Antonio, Im using class CActiveX and have method Release what´s i need change ? METHOD Release() CLASS cActiveX //-----------------------------------------------------------------------------------------------// If ::hSink != NIL OleDisconnectEvents( ...
by lailton.webmaster
Wed Jul 22, 2009 10:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Erro 9000:
Replies: 15
Views: 2119

Re: cActiveX ( To antonio )

Antonio,
Sucesso com conexao de Proxy e captura dos events.

gracias :D
by lailton.webmaster
Tue Jul 21, 2009 6:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Re: cActiveX ( To antonio )

Gracias Antonio, voy a tentar.
by lailton.webmaster
Tue Jul 21, 2009 5:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Re: cActiveX ( To antonio )

oBj:=oAct:Status() // it´s a object that have EVENTS
hSink := OleConnectEvents( oBj:hObj, aEvent , aBlock )
by Antonio Linares
Tue Jul 21, 2009 4:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Re: cActiveX ( To antonio )

Si antonio, funciona perfeitamente !
by lailton.webmaster
Tue Jul 21, 2009 1:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Re: cActiveX ( To antonio )

Un ejemplo de uso: TestOWE.prg /* *  Events for OLE *  (c) 2008 Carlos Mora (carlosantoniomora@yahoo.es - harbouradvisor.blogspot.com ) *  based on the work of Oscar Lira Lira for ActiveX *    (oscarlira78@hotmail.com - http://_...net) */#include &qu...
by Antonio Linares
Tue Jul 21, 2009 10:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Re: cActiveX ( To antonio )

Lailton, Carlos Mora implementó OLE con eventos. Copio aqui su código para que no se pierda: OleWEvents.prg /* *  Events for OLE *  (c) 2008 Carlos Mora (carlosantoniomora@yahoo.es - harbouradvisor.blogspot.com ) *  based on the work of Oscar Lira Lira for ActiveX ...
by Antonio Linares
Tue Jul 21, 2009 10:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Re: cActiveX ( To antonio )

Exemplo/Example:

Class TActiveX / Class cActiveX

obj1:=Tactivex():new(ownd,"progid")
obj1:bOnEvent(|| msginfo ("Evento / event "))
8)
by lailton.webmaster
Tue Jul 21, 2009 12:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Re: cActiveX ( To antonio )

Lailton,

What do you want to use the object for ?

Para que quieres usar el objeto ?
by Antonio Linares
Mon Jul 20, 2009 11:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Re: cActiveX ( To antonio )

Antonio tu pode mostrar en la funcion acima como fica con tua modificacion ? HB_FUNC( OLEWECREATE ) { PHB_ITEM pObject = hb_param( 1, HB_IT_OBJECT ); // the object supplied as the first parameter HWND hWndCtrl; LoadAtl(); hWndCtrl = CreateWindowEx( (DWORD) 0 , // nExStyle (LPCTSTR) "AtlAxWin&qu...
by lailton.webmaster
Mon Jul 20, 2009 11:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Re: cActiveX ( To antonio )

Lailton,

An object is an item so you can access it this way:

PHB_ITEM pObject = hb_param( 1, HB_IT_OBJECT ); // the object supplied as the first parameter
by Antonio Linares
Mon Jul 20, 2009 8:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

cActiveX ( To antonio )

HB_FUNC( OLEWECREATE ) { HWND hWndCtrl; LoadAtl(); hWndCtrl = CreateWindowEx( (DWORD) 0 , // nExStyle (LPCTSTR) "AtlAxWin" , // cClsName (LPCTSTR) hb_parc( 1 ) , // cProgId (DWORD) WS_OVERLAPPEDWINDOW , // style CW_USEDEFAULT , // nLeft CW_USEDEFAULT , // nTop 0 , // nWidth 0 , // nHeight ...
by lailton.webmaster
Mon Jul 20, 2009 8:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: cActiveX ( To antonio )
Replies: 11
Views: 4212

Return to advanced search