/* Freeze the Imagenation user interface */
if ( ( nError = IN_FreezeUI( 1 ) ) != IN_SUCCESS )
{
ErrorHandler( nError, "Error message:" );
}