0 Replies Latest reply on Dec 4, 2012 1:39 PM by PatrickBassut

    How resize panel when it's clicked


      I'm trying to resize a panel on CS5.5

      I have tried this in the Update method:


           InterfacePtr<IApplication> app(GetExecutionContextSession()->QueryApplication());

                InterfacePtr<IPanelMgr>          panelMgr (app->QueryPanelManager(), UseDefaultIID ());

                IControlView * fillerPanel = panelMgr->GetPanelFromWidgetID(kFillerPanelWidgetID);

                fillerPanel->SetFrame(PMRect(0, 0, 207, 137));


      But that does not work.


      How could I do this?