CStation::SetLogo

[This is preliminary documentation and subject to change.]

The SetLogo method sets the value of the S Logo field in the CStation record object.

void SetLogo(
  LPCTSTR szLogo   
);
 

Parameters

szLogo
A string giving the name of the .BMP file that contains the logo image.

Return Values

This method does not return a value.

Remarks

The Program Guide gets logos from .BMP files that are stored in the TV Viewer\Bitmaps directory. Each logo has two formats, the first is a small logo that appears next to the station call letters in the Program Guide. The second format is a larger logo that appears in the upper right corner of the Program Guide when the user selects the station.

Both of the logo files must use an 8 bit color depth and the Windows system palette. Failure to use these settings will cause the Program guide to use the wrong colors when displaying the logo. Some bitmap editors may require you to copy the palette from one of the bitmaps in TV Viewer\Bitmap to properly set the palette.

The small logo is 48 pixels wide and 36 pixels high. The background should bre black and the forground should be light green (for bitmap editors that allow you to enter RGB values use red = 102, green = 204, and blue = 153) to match the color scheme that the Program guide uses.

The large logo is 184 pixels wide and 138 pixels high. It can use any if the colors in the Windows system palette.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in station.h.
  Import Library: Use dbsets.lib or dbsetsSt.lib.
  Unicode: Yes.