Platform SDK: Broadcast Architecture |
The SetLogo method sets the value of the S Logo field in the CStation record object. C syntax is shown.
void SetLogo( LPCTSTR szLogo );
This method does not return a value.
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 causes 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 existing bitmaps in TV Viewer\Bitmaps to properly set the palette.
The small logo measures 48 pixels wide and 36 pixels high. To match the Program Guide color scheme, its background should be black and its foreground should be light green. Use the RGB values red = 102, green = 204, and blue = 153.
The large logo measures 184 pixels wide and 138 pixels high. It can use any of the colors in the Windows system palette.
Windows NT/2000: Unsupported.
Windows 95/98: Requires Windows 98.
Header: Declared in station.h.
Import Library: Use dbsets.lib or dbsetsst.lib.