home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgLangD.iso / C++-7 / DISK8 / MFC / SAMPLES / TESTCLNT / DEFS.H$ / defs
Encoding:
Text File  |  1992-01-15  |  1.2 KB  |  57 lines

  1. // defs.h -- This file contains definitions which are not considered
  2. //           to be resource dependent.
  3. //
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and Microsoft
  10. // QuickHelp documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14.  
  15. #ifndef __DEFS_H__
  16. #define __DEFS_H__
  17.  
  18. #define FILENAMELEN 128
  19. #define CBOBJNAMEMAX    32
  20. #define KEYNAMESIZE 300
  21. #define CBOBJMAXNAME    14
  22. #define CXDEFAULT       120
  23. #define CYDEFAULT       100
  24. #define OLEVERB_PLAY    1
  25.  
  26. #define new DEBUG_NEW
  27.  
  28. LPSTR CreateNewUniqueName(LPSTR lpstr);
  29.  
  30.  
  31. static char *szDefinedFormat[] =
  32. {
  33.     { "CF_TEXT" },
  34.     { "CF_BITMAP" },      
  35.     { "CF_METAFILEPICT" },
  36.     { "CF_SYLK" },
  37.     { "CF_DIF" },
  38.     { "CF_TIFF" },         
  39.     { "CF_OEMTEXT" },      
  40.     { "CF_DIB" },          
  41.     { "CF_PALETTE" }
  42. };     
  43.  
  44.  
  45. static char *szOwnerFormat[] = 
  46. {
  47.     { "CF_OWNERDISPLAY" },
  48.     { "CF_DSPTEXT" },     
  49.     { "CF_DSPBITMAP" },   
  50.     { "CF_DSPMETAFILEPICT" }
  51. };
  52.  
  53.  
  54.  
  55.  
  56. #endif // __DEFS_H__
  57.