PWB Extensions Help (ext.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
SetColor
                                             Up Contents Index Back
─────PWB Extensions─────────────────────────────────────────────────────────
 
  Syntax: void SetColor( PFILE pfFile,
                         LINE y, COL x, COL length, int color );
 
  See:    AddAColor, GetColor, PutColor, SetHiLite
          Using Colors in Extensions
 
     SetColor assigns a color to a sequence of characters on a single
     line.
 
     The sequence starts at column <x>, line <y> in file <pfFile> and
     continues for <length> characters.
 
     The <color> can be a predefined color constant or an index returned
     by AddAColor.
     See: Color Constants
                                    -♦-