windows-nt/Source/XPSP1/NT/shell/osshell/regwiz/include/cbitmap.h

30 lines
652 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*********************************************************************
Registration Wizard
CBitmap.h
11/14/94 - Tracy Ferrier
(c) 1994-95 Microsoft Corporation
**********************************************************************/
#ifndef __CBitmap__
#define __CBitmap__
class CBitmap
{
public:
CBitmap(HINSTANCE hInstance, HWND hwndDlg,int idDlgCtl, int idBitmap);
virtual ~CBitmap();
LRESULT PASCAL CtlWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
private:
HBITMAP GetBmp();
HINSTANCE m_hInstance;
FARPROC m_lpfnOrigWndProc;
HBITMAP m_hBitmap;
int m_nIdBitmap;
HPALETTE m_hPal;
BOOL m_isActivePal;
};
#endif