I'm having more trouble with this. I'm setting the hidden flag during UPDATE_PARAMS_UI. For most properties this seems fine, but under certain circumstances for arbitrary parameters, the owner-drawn portion of the effect is still there. While handling the draw event I can check whether the stream is hidden (and it is) and not draw anything, but the space is still there for it.
Near as I can tell it, it works correctly when we load the project from disk, but if we apply the effect anew, even though the hide code is being run, it the owner-draw portion effect is there. Any ideas?
i know this problem, but sadly i have no solution for it.
it's a bug in AE, who's behavior changes between AE versions.
if you duplicate your effect, or a layer with your effect on it, then the
new instance will have that problem.
if you duplicate that new instance again, then the new new instance will be
sorry. nothing else i can help with on this one. (besides referring you to
email zac lam)