Removing the Roll-up from the Command Panel

When the user is done editing the sphere's parameters, the DestroyCPParamMap() method is used to remove the rollup page from the command panel and release the controls associated with the parameter map. It is called from the Animatable::EndEditParams() method.

void DestroyCPParamMap(IParamMap *m);
 if (pmapCreate) DestroyCPParamMap(pmapCreate);
     DestroyCPParamMap(pmapParam);
 pmapCreate = NULL;
 pmapParam = NULL;