Browse Source

+ activate/desactivate system messages

pierre 23 years ago
parent
commit
a0d19e2a81
2 changed files with 26 additions and 2 deletions
  1. 13 1
      fv/drivers.pas
  2. 13 1
      fvision/drivers.pas

+ 13 - 1
fv/drivers.pas

@@ -1259,6 +1259,9 @@ BEGIN
      LastWhereY:=MouseWhere.y;
      LastWhereY:=MouseWhere.y;
      MouseEvents := True;                             { Set initialized flag }
      MouseEvents := True;                             { Set initialized flag }
    end;
    end;
+{$ifdef HasSysMsgUnit}
+   InitSystemMsg;
+{$endif HasSysMsgUnit}
 END;
 END;
 
 
 {---------------------------------------------------------------------------}
 {---------------------------------------------------------------------------}
@@ -1266,6 +1269,9 @@ END;
 {---------------------------------------------------------------------------}
 {---------------------------------------------------------------------------}
 PROCEDURE DoneEvents;
 PROCEDURE DoneEvents;
 BEGIN
 BEGIN
+{$ifdef HasSysMsgUnit}
+   DoneSystemMsg;
+{$endif HasSysMsgUnit}
 END;
 END;
 
 
 {+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
 {+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
@@ -1629,6 +1635,9 @@ BEGIN
    {$ifdef Graph_API}
    {$ifdef Graph_API}
    TextModeGFV:=false;
    TextModeGFV:=false;
    {$endif Graph_API}
    {$endif Graph_API}
+{$ifdef HasSysMsgUnit}
+   InitSystemMsg;
+{$endif HasSysMsgUnit}
 {$ifdef win32}
 {$ifdef win32}
    SetFileApisToOEM;
    SetFileApisToOEM;
    SetConsoleCP(437);
    SetConsoleCP(437);
@@ -1640,7 +1649,10 @@ BEGIN
 END.
 END.
 {
 {
  $Log$
  $Log$
- Revision 1.25  2002-06-06 06:43:29  pierre
+ Revision 1.26  2002-06-06 13:57:50  pierre
+  + activate/desactivate system messages
+
+ Revision 1.25  2002/06/06 06:43:29  pierre
   * avoid more than 132 columns, to avoid TDrawBuffer overrun
   * avoid more than 132 columns, to avoid TDrawBuffer overrun
 
 
  Revision 1.24  2002/06/04 11:12:41  marco
  Revision 1.24  2002/06/04 11:12:41  marco

+ 13 - 1
fvision/drivers.pas

@@ -1259,6 +1259,9 @@ BEGIN
      LastWhereY:=MouseWhere.y;
      LastWhereY:=MouseWhere.y;
      MouseEvents := True;                             { Set initialized flag }
      MouseEvents := True;                             { Set initialized flag }
    end;
    end;
+{$ifdef HasSysMsgUnit}
+   InitSystemMsg;
+{$endif HasSysMsgUnit}
 END;
 END;
 
 
 {---------------------------------------------------------------------------}
 {---------------------------------------------------------------------------}
@@ -1266,6 +1269,9 @@ END;
 {---------------------------------------------------------------------------}
 {---------------------------------------------------------------------------}
 PROCEDURE DoneEvents;
 PROCEDURE DoneEvents;
 BEGIN
 BEGIN
+{$ifdef HasSysMsgUnit}
+   DoneSystemMsg;
+{$endif HasSysMsgUnit}
 END;
 END;
 
 
 {+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
 {+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++}
@@ -1629,6 +1635,9 @@ BEGIN
    {$ifdef Graph_API}
    {$ifdef Graph_API}
    TextModeGFV:=false;
    TextModeGFV:=false;
    {$endif Graph_API}
    {$endif Graph_API}
+{$ifdef HasSysMsgUnit}
+   InitSystemMsg;
+{$endif HasSysMsgUnit}
 {$ifdef win32}
 {$ifdef win32}
    SetFileApisToOEM;
    SetFileApisToOEM;
    SetConsoleCP(437);
    SetConsoleCP(437);
@@ -1640,7 +1649,10 @@ BEGIN
 END.
 END.
 {
 {
  $Log$
  $Log$
- Revision 1.25  2002-06-06 06:43:29  pierre
+ Revision 1.26  2002-06-06 13:57:50  pierre
+  + activate/desactivate system messages
+
+ Revision 1.25  2002/06/06 06:43:29  pierre
   * avoid more than 132 columns, to avoid TDrawBuffer overrun
   * avoid more than 132 columns, to avoid TDrawBuffer overrun
 
 
  Revision 1.24  2002/06/04 11:12:41  marco
  Revision 1.24  2002/06/04 11:12:41  marco