DIB.H in GdiTutorial4.rar
Sponsored links
#ifndef CDIB_HEADER
#define CDIB_HEADER
class CDIB
{
public:
static CDIB* Create(int cx, int cy, int nColorDepth);
static CDIB* CreateFromFile(LPCSTR);
static CDIB* CreateFromResource(HINSTANCE hInstance,LPCSTR lpszResourceName);
~CDIB();
HPALETTE CreatePalette(); // creates a palette from the DIB's colortable.
HBITMAP CreateBitmap(HPALETTE); // creates a
...
...
... to be continued.
This is a preview. To get the complete source file,
please click here to download the whole source code package.