{$B-}
       { Determine Delphi/C++Builder version }

{$IFNDEF VER80}                    {       not Delphi 1.0           }
  {$IFNDEF VER90}                  {       not Delphi 2.0           }
    {$IFNDEF VER93}                {       not C++Builder 1.0       }
      {$IFNDEF VER110}             {       not C++Builder 3.0       }
        {$DEFINE RICHVIEWDEF3}     (* Delphi 3.0+, C++Builder 4.0+ *)
        {$IFNDEF VER100}           {       not Delphi 3.0           }
          {$DEFINE RICHVIEWDEF4}   (* Delphi 4.0+                  *)
          {$IFNDEF VER120}         {       not Delphi 4.0           }
            {$IFNDEF VER125}       {       not C++Builder 4.0       }
            {$DEFINE RICHVIEWDEF5} (* Delphi 5.0+                  *)
            {$ENDIF}
          {$ENDIF}
        {$ENDIF}
      {$ENDIF}
    {$ENDIF}
  {$ENDIF}
{$ENDIF}

{$DEFINE RVALLOWCPBYCP}
{NOT$DEFINE RVUSETEXTHOVERCOLORWITHSELECTED}
{NOT$DEFINE RVDONOTUSEJPEGIMAGE}
{NOT$DEFINE RVDONOTUSERVF}
{NOT$DEFINE RVDONOTUSEHTML}

{$DEFINE RVDEBUG}