Página 1 de 1

Active X Events

Publicado: Mar Abr 15, 2008 1:22 am
por Nick Hilder
Hi Jose or anyone who might know
Here's an ActiveX Event I'm having trouble with
EVENT EventChangedEx( @upEvent )
Does the "up" in the upEvent stand for unsigned pointer?
Here's what's in the type lib
void EventChangedEx(CalendarEvent* pEvent);
[id(0x0000000b), helpcontext(0x00001143)]
If I do ValType(upEvent) I get "P" returned
How do I get to the object that the pointer is pointing to?
I have spent ages playing with all this activex stuff and this is one of the
few things i have left.
Here's an example off the codejocj support group, I can't find much else
Private Sub CalendarControl_EventChangedEx(ByVal pEvent As
XtremeCalendarControl.CalendarEvent)
Set pEvent = CalendarControl.DataProvider.GetEvent(pEvent.Id)