Skip navigation
Currently Being Moderated

custom ui in ECW and CCW

Jun 18, 2012 7:53 AM



it is possible to simultaneously use custom ui in effect window and composition window?





  • Currently Being Moderated
    Jun 18, 2012 1:35 PM   in reply to rado.h

    yes it is.

    it's not even tricky.


    just make sure you respond to the correct window when AE calls you with an EVENT. (it states that in the event data struct)

    every call is either for the ECW, in which case you should tell what param you're talking about (if you have more than one custom UI in the ECW),

    or layer window/comp window, where there is only one display at a time.

    Mark as:
  • Currently Being Moderated
    Jun 20, 2012 12:59 AM   in reply to rado.h

    the block where you register the custom UI should only appear once for all

    the effects together, and not once for every custom UI param.

    and the following line:  =   PF_CustomEFlag_EFFECT;

    should read:  =   PF_CustomEFlag_EFFECT | PF_CustomEFlag_COMP;//and also layer

    if you need it.


    just to make sure, the block i said should appear only once is the



                        PF_CustomUIInfo                              ci;











      PF_CustomEFlag_COMP | PF_CustomEFlag_EFFECT;




                        ci.comp_ui_width                    = ci.comp_ui_height

    = 0;


                        ci.comp_ui_alignment          = PF_UIAlignment_NONE;




                        ci.layer_ui_width                    = 0;


                        ci.layer_ui_height                    = 0;


                        ci.layer_ui_alignment          = PF_UIAlignment_NONE;




                        ci.preview_ui_width                    = 0;


                        ci.preview_ui_height          = 0;


                        ci.layer_ui_alignment          = PF_UIAlignment_NONE;






                        err =

    (*(in_data->inter.register_ui))(in_data->effect_ref, &ci);

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points