PF_EventExtra->effect_win.current_frame BUG
Hi There,
either I am doing something very wrong or this is indeed a serious bug.
According to SDK Guides this should report the width of the window in which the Plug-In Resides. The Effect List window where one adjusts the effect.
I take you guys added this feature so that a plug-in can react to the user broadening the window and adjust their interface.
Anyway, here is the bug.
I create an ARB Param and set its width to a default of 200 - wanting to later adjust it to the size of the effect list width.
Here is what happens when I call PF_EventExtra->effect_win.current_frame. It will ALWAYS report the width of the arb minus 4 pixels. No matter how wide the user broadens the effect list view.
This way it becomes impossible to respond to user changes. Why it reports the width of my ARB I dont understand. I KNOW how wide my arb is, as I set its width -)
Clumsy Workaround for anyone who is experiencing this
Set the ARBs width when you create to the max size of its type. Or 100000. Or whichever value you believe will exceed the amount of pixels any future display will be able to physically hold... Just make sure that the value you do pick WILL be large than ANY display's width...
Setting this ridiculous width will somehow make PF_EventExtra->effect_win.current_frame return the actual width of the effect list window.