0 Replies Latest reply: Aug 9, 2010 3:34 AM by dheeraj_c RSS

    What is the purpose of AEGP_WindowType parameter in UpdateMenuHook() callback?

    dheeraj_c Community Member

      Hi,

           Whenever any operation or when AE menu is clicked, S_UpdateMenuHook() is called if the plugin is registered using AEGP_RegisterUpdateMenuHook().

       

          static A_Err    S_UpdateMenuHook(  AEGP_GlobalRefcon        plugin_refconP,        /* >> */
                                                                     AEGP_UpdateMenuRefcon    refconP,            /* >> */
                                                                     AEGP_WindowType            active_window)        /* >> */

       

      But every time AEGP_WindowType is AEGP_WindType_COMP, why is it? Should it return currently active window or something?

       

      Thanks,

      Dheeraj.