home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / samples / c06 / modeless / xtrafunc.h < prev   
Encoding:
C/C++ Source or Header  |  1997-02-20  |  257 b   |  14 lines

  1. #ifndef _INC_UTILITIES
  2. #define _INC_UTILITIES
  3.  
  4. const COLORREF BLACK=RGB(0,0,0);
  5. const COLORREF RED=RGB(255,0,0);
  6. const COLORREF GREEN=RGB(0,255,0);
  7. const COLORREF BLUE=RGB(0,0,255);
  8.  
  9. int RgbToInt(COLORREF c);
  10.  
  11. COLORREF IntToRgb(int r);
  12.  
  13. #endif
  14.