How To Reference Colors in a DIB Section by Index (138256)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Win32 Software Development Kit (SDK) 3.1
- Microsoft Win32 Software Development Kit (SDK) 3.5
- Microsoft Win32 Software Development Kit (SDK) 3.51
- Microsoft Win32 Software Development Kit (SDK) 4.0
This article was previously published under Q138256 SUMMARY
When using the GDI with DIB sections (HBITMAPs returned by a call to
CreateDIBSection()), you may need a way to reference the colors in the
color table of the DIB section by index rather than by RGB value. This
article shows you how.
Modification Type: | Minor | Last Reviewed: | 3/21/2005 |
---|
Keywords: | kbcode kbhowto KB138256 |
---|
|