|
Section Palettes
The file parser must generate a palette for those sections that have the
SO_COLORPALETTE value set in the wImageFlags member of the SOBITMAPHEADER structure. The parser uses the SOStartPalette, SOPutPaletteEntry, and SOEndPalette functions to define the color palette for a bitmapped section. Only one
palette may be defined for a bitmapped section.
All members set during the stream read can use RGB (red, green, blue) values,
palette index values, or palette-relative RGB values. All settings of these
values must be done through the SOPALETTEINDEX, SORGB, or SOPALETTERGB macro. For more information about these types of color values, see the
description of the COLORREF value.
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|