5.2. CBitmap

Microsoft Visual C++/Microsoft Foundation Classes


5.2. CBitmap

5.2.1. How do I read a 256 color bitmap file from disk?

Currently, MFC does not contain direct support for reading and displaying DIBs or BMPs. However, there are a number of sample applications that illustrate just how to do this.

The first sample is the MFC sample application DIBLOOK. The MULTDOCS sample uses the same source code provided by DIBLOOK to read and display DIBs and BMPs.

Two other examples provided with Visual C++ are the SDK samples DIBVIEW and SHOWDIB.

Question posted on comp.lang.c++, 6/5/95, found this in MS FAQ, 6/25/95