In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

OCX Events

Xailer professional forum in English
Nick Hilder
Mensajes: 328
Registrado: Mar Nov 21, 2006 2:10 am

OCX Events

Mensaje por Nick Hilder »

Hi Jose
I have been back working on the Codejock stuff again. ;-)
I have lots more of it working
You helped me with this event
EVENT EventAddedEx( @upEvent )
You showed me how is did this
e := TOleAuto():New( PointerToInt( upEvent ) )
I could get to the real event object, this is greate
You gave me this wrapper to do it
XA_FUNC( POINTERTOINT )
{
hb_retnl( (long) hb_parptr( 1 ) );
}
I have one that is nearly the same, I'm hoping I just need a slight
different wrapper
Event DayMetrics( dDay, @uMetrics)
It's missing the p. (the other one was up) Valtype returns a P just like the
other one did
Here's what the OLE Viewer shows me
void EventChangedEx(CalendarEvent* pEvent); This one works now
void DayMetrics(DATE Day, IDatePickerDayMetrics* Metrics);
Responder