Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
681 B

  1. /*********************************************************************
  2. Registration Wizard
  3. CBitmap.h
  4. 11/14/94 - Tracy Ferrier
  5. (c) 1994-95 Microsoft Corporation
  6. **********************************************************************/
  7. #ifndef __CBitmap__
  8. #define __CBitmap__
  9. class CBitmap
  10. {
  11. public:
  12. CBitmap(HINSTANCE hInstance, HWND hwndDlg,int idDlgCtl, int idBitmap);
  13. virtual ~CBitmap();
  14. LRESULT PASCAL CtlWndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
  15. private:
  16. HBITMAP GetBmp();
  17. HINSTANCE m_hInstance;
  18. FARPROC m_lpfnOrigWndProc;
  19. HBITMAP m_hBitmap;
  20. int m_nIdBitmap;
  21. HPALETTE m_hPal;
  22. BOOL m_isActivePal;
  23. };
  24. #endif