home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / oleview / iviewers / iview.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.4 KB  |  44 lines

  1. // iviewers.h : main header file for the iviewers application
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and Microsoft
  9. // QuickHelp and/or WinHelp documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #ifndef __AFXWIN_H__
  14.     #error include 'stdafx.h' before including this file for PCH
  15. #endif
  16.  
  17. #ifndef __IVIEW_H__
  18. #define __IVIEW_H__
  19.  
  20. #include "resource.h"       // main symbols
  21.  
  22. #ifndef _RGB_H_
  23. #define _RGB_H_
  24.    #define RGBBLACK     RGB(0,0,0)
  25.    #define RGBRED       RGB(128,0,0)
  26.    #define RGBGREEN     RGB(0,128,0)
  27.    #define RGBBLUE      RGB(0,0,128)
  28.    #define RGBBROWN     RGB(128,128,0)
  29.    #define RGBMAGENTA   RGB(128,0,128)
  30.    #define RGBCYAN      RGB(0,128,128)
  31.    #define RGBLTGRAY    RGB(192,192,192)
  32.    #define RGBGRAY      RGB(128,128,128)
  33.    #define RGBLTRED     RGB(255,0,0)
  34.    #define RGBLTGREEN   RGB(0,255,0)
  35.    #define RGBLTBLUE    RGB(0,0,255)
  36.    #define RGBYELLOW    RGB(255,255,0)
  37.    #define RGBLTMAGENTA RGB(255,0,255)
  38.    #define RGBLTCYAN    RGB(0,255,255)
  39.    #define RGBWHITE     RGB(255,255,255)
  40. #endif
  41.  
  42. /////////////////////////////////////////////////////////////////////////////
  43. #endif // __IVIEW_H__
  44.