/* Enable only the Close command in the Imagenation window */
if ( ( nError = IN_EnableSystemMenuCommands( IN_SYSTEM_OBJECT, 32 ) ) != IN_SUCCESS )
{
ErrorHandler( nError, "Error message:" );
}