home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 21 / IOPROG_21.ISO / SOFT / DEMOT.ZIP / Src / Include / MFCXLib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-08-24  |  2.0 KB  |  73 lines

  1. //
  2. // Copyright ⌐ 1998 Kirk Stowell ( kstowel@sprynet.com )
  3. // www.geocities.com/SiliconValley/Haven/8230/index.html
  4. //
  5. // You are free to use, modify and distribute this source, as long as
  6. // there is no charge, and this HEADER stays intact. This source is
  7. // supplied "AS-IS", without WARRANTY OF ANY KIND, and the user
  8. // holds Kirk Stowell blameless for any or all problems that may arise
  9. // from the use of this code.
  10. //
  11. //////////////////////////////////////////////////////////////////////
  12.  
  13. #if !defined(MFCXLIB_H_INCLUDED)
  14. #define MFCXLIB_H_INCLUDED
  15.  
  16. #if _MSC_VER >= 1000
  17. #pragma once
  18. #endif // _MSC_VER >= 1000
  19.  
  20. #ifndef __AFXTEMPL_H__
  21. #include <afxtempl.h>
  22. #endif
  23.  
  24. #if defined(MFCXLIB_STATIC) 
  25.   #if defined (_DEBUG) 
  26.     #pragma comment(lib,"MFCXStaticLib_d.lib") 
  27.     #pragma message("Automatically linking with MFCXStaticLib_d.lib") 
  28.   #else 
  29.     #pragma comment(lib,"MFCXStaticLib_r.lib") 
  30.     #pragma message("Automatically linking with MFCXStaticLib_r.lib") 
  31.   #endif 
  32. #elif defined(_DEBUG) 
  33.   #pragma comment(lib,"mfcxlib_d.lib") 
  34.   #pragma message("Automatically linking with mfcxlib_d.dll") 
  35. #else 
  36.   #pragma comment(lib,"mfcxlib_r.lib") 
  37.   #pragma message("Automatically linking with mfcxlib_r.dll") 
  38. #endif 
  39.  
  40. #if defined(MFCXLIB_STATIC) 
  41.   #define CLASS_EXPORT 
  42. #elif defined(MFCX_PROJ) 
  43.   #define CLASS_EXPORT AFX_CLASS_IMPORT 
  44. #else 
  45.   #define CLASS_EXPORT AFX_CLASS_EXPORT 
  46. #endif 
  47.  
  48. #include <ControlBarEx.h>
  49. #include <CoolBar.h>
  50. #include <CoolMenu.h>
  51. #include <DockBarEx.h>
  52. #include <FlatBar.h>
  53. #include <FlatButton.h>
  54. #include <FrameWndEx.h>
  55. #include <HyperLink.h>
  56. #include <MDIFrameWndEx.h>
  57. #include <ModulVer.h>
  58. #include <OutlookBar.h>
  59. #include <SizeCBar.h>
  60. #include <SubClass.h>
  61. #include <TabCtrlBar.h>
  62. #include <ToolBarEx.h>
  63.  
  64. #if defined(AUTO_SUBCLASS)
  65. #define CMenuMgr     CCoolMenuManager
  66. #define CControlBar  CControlBarEx
  67. #define CDockBar     CDockBarEx
  68. #define CFrameWnd    CFrameWndEx
  69. #define CMDIFrameWnd CMDIFrameWndEx
  70. #define CToolBar     CToolBarEx
  71. #endif
  72.  
  73. #endif // MFCXLIB_H_INCLUDED