[Closed] [sdk] hide or disable pblock2 rollout
Is there any way to hide or disable rollout which created by pblock2?
I want to hide some rollout from modifier panel in some situation.
thanks
sure you can… the question is – what moment do you want to hide a rollout?
also… are we talking about any 3rd-party plugin’s pblock2? (not really a 3rd-party… I mean ‘not your own’)
I’m talking about my own plugin.
Just disable each parameter items , I can use EnableWindow at Win32API.
But I want to know about rollout.
I tried to use ShowWindow Win32API, but it does not work correctly.
Thank you very much, denisT.
I add like as follows in the BeginEditParam.
IRollupWindow* rollup= ip->GetCommandPanelRollup();
rollup->Hide(2);
Basically, it works good, but I get something strange. In most of the case, rollup basement and title-bar is still there. However, all parameter items in the rollup are hiding.
Do I need something else?
Actually, I’m using ‘P_AUTO_CONSTRUCT|P_AUTO_UI’.
Is this not fit for hiding, maybe?