Inconsistent Menu opened event notifications


  • Hi everyone,

    I am monitoring MENU opened events (UIA_MenuOpenedEventId) globally by adding AddAutomationEventHandler with Treescope_Descendants and the element hooked is for the root (Desktop). Things work fine to an extent and I have problems of notifications being inconsistent. My target platform is Win8 Desktop.

    Is this the expected behaviour? All suggestions are welcome and it is well appreciated.

    Thank you.

    Best regards,


    Thursday, July 04, 2013 8:55 AM