How to detect an event was attached? RRS feed

  • Question

  • In my WinRT component I have an event source declared using

    event ProgressHandler^ progress;

    I wonder if its possible to detect handlers that are getting attached to this event? I would need to register some additional callbacks in my class once the first handler is attached and unregister the callbacks after the last callback has been detached. Is that possible?

    • Edited by phil_ke Wednesday, July 11, 2012 8:00 AM
    Wednesday, July 11, 2012 7:59 AM

All replies