void HDRCompositionInterface::__ToggleSection( SectionBar& sender, Control& section, bool start )
{
   if ( start )
      GUI->InputImages_TreeBox.SetFixedHeight();
   else
   {
      GUI->InputImages_TreeBox.SetMinHeight( IMAGELIST_MINHEIGHT( Font() ) );
      GUI->InputImages_TreeBox.SetMaxHeight( int_max );

      if ( GUI->InputImages_Control.IsVisible() )
         SetVariableHeight();
      else
         SetFixedHeight();
   }
}
void DrizzleIntegrationInterface::__ToggleSection( SectionBar& sender, Control& section, bool start )
{
   if ( start )
      GUI->InputData_TreeBox.SetFixedHeight();
   else
   {
      GUI->InputData_TreeBox.SetMinHeight( FILELIST_MINHEIGHT( Font() ) );
      GUI->InputData_TreeBox.SetMaxHeight( int_max );

      if ( GUI->InputData_Control.IsVisible() )
         SetVariableHeight();
      else
         SetFixedHeight();
   }
}