Help!!!!

08/01/2004 - 07:16 por morice | Informe spam
"WithEvents" is the keyword in VB,
how can i do the same thing as WithEvents in VC++?

Thanks in advance!
 

Leer las respuestas

#1 Rodrigo Corral González
08/01/2004 - 10:05 | Informe spam
Si usas MFC:

HOWTO: Create a Sink Interface in MFC-Based COM Client
http://support.microsoft.com/defaul...-us;181845

Connpts.exe Implements Connection Points in MFC Apps
http://support.microsoft.com/defaul...-us;152087

Si usas ATL:
SAMPLE: AtlEvnt.exe Creates ATL Sinks Using IDispEventImpl
http://support.microsoft.com/defaul...-us;194179

En VC++ 2002/2003 todo es más facil con el 'unified event model'
Event Handling in Visual C++
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003...entHandlin
gUsingAttributes.htm


Un saludo
Rodrigo Corral González

microsoft.public.es.vc FAQ
http://vcfaq.europe.webmatrixhosting.net

Preguntas similares