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.