Página 1 de 1

OCX Events

Publicado: Jue Jun 26, 2008 2:54 pm
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);