Introduction - If you have any usage issues, please Google them yourself
This article describes a class (CDibStatic) that implements a static control used to display dibs. The control has a CDib member, which displays itself with the parameters passed by the CDibStatic class. The CDib class encapsulates the functionality provided in dibapi.h (DIBLOOK sample) and is described in an article in the images palettes section.
Packet : 895397static实现图象显示.zip filelist
BMP1.bmp
BMP2.bmp
BMP3.bmp
BMP4.bmp
BMP5.bmp
BMP6.bmp
DIB.CPP
DIB.H
DIBStatic.cpp
DIBStatic.h
DlgBitmap.cpp
DlgBitmap.h
ExampleDIB.cpp
ExampleDIB.dsp
ExampleDIB.dsw
ExampleDIB.h
ExampleDIB.plg
ExampleDIB.rc
ExampleDIBDoc.cpp
ExampleDIBDoc.h
ExampleDIBView.cpp
ExampleDIBView.h
MainFrm.cpp
MainFrm.h
ReadMe.txt
res/
Resource.h
res/BMP1.bmp
res/BMP2.bmp
res/BMP3.bmp
res/BMP4.bmp
res/BMP5.bmp
res/BMP6.bmp
res/ExampleDIB.ico
res/ExampleDIB.rc2
res/ExampleDIBDoc.ico
res/Toolbar.bmp
StdAfx.cpp
StdAfx.h