home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / WORDPAD.PAK / COLORLIS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  986 b   |  38 lines

  1. // colorlis.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 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 related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CColorMenu window
  15.  
  16. class CColorMenu : public CMenu
  17. {
  18. // Construction
  19. public:
  20.     CColorMenu();
  21.  
  22. // Attributes
  23. public:
  24.     static int BASED_CODE indexMap[17];
  25.     static COLORREF GetColor(UINT id);
  26.  
  27. // Operations
  28. public:
  29.  
  30. // Implementation
  31. public:
  32.     virtual void DrawItem(LPDRAWITEMSTRUCT lpDIS);
  33.     virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMIS);
  34.  
  35. };
  36.  
  37. /////////////////////////////////////////////////////////////////////////////
  38.