home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / activedocument / dfv / bitmaps.h < prev    next >
C/C++ Source or Header  |  1995-02-13  |  833b  |  39 lines

  1. //+---------------------------------------------------------------------------
  2. //
  3. //  Microsoft Windows
  4. //  Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. //  File:       bitmaps.h
  7. //
  8. //  Contents:   bitmap helper functions
  9. //
  10. //  Classes:
  11. //
  12. //  Functions:  DDBChangeColor
  13. //              LoadAndStretch
  14. //
  15. //  History:    6-24-94   stevebl   Created
  16. //
  17. //----------------------------------------------------------------------------
  18.  
  19. #ifndef __BITMAPS_H__
  20. #define __BITMAPS_H__
  21.  
  22. #define DSPDxax 0x00E20746L
  23.  
  24. BOOL DDBChangeColor (
  25.     HBITMAP hBitmap,
  26.     COLORREF crFrom,
  27.     COLORREF crTo);
  28.  
  29. BOOL LoadAndStretch (
  30.     HINSTANCE hinst,
  31.     HBITMAP hbmpDest,
  32.     LPTSTR lpszResource,
  33.     UINT cxBitmap,
  34.     UINT cyBitmap,
  35.     COLORREF crHigh,
  36.     COLORREF crNorm);
  37.  
  38. #endif //__BITMAPS_H__
  39.