NGToolbar.h
上传用户:libwxy
上传日期:2007-01-02
资源大小:200k
文件大小:1k
源码类别:

工具条

开发平台:

Visual C++

  1. #ifndef NGTOOLBAR__H
  2. #define NGTOOLBAR__H
  3. #ifndef __AFXTEMPL_H__
  4. #include <afxtempl.h>
  5. #endif
  6. #pragma message ("Include "__FILE__)
  7. #ifndef NGTB_PROJECT
  8. #ifdef _DEBUG
  9. #pragma comment(lib,"ngtlb10d.lib")
  10. #pragma message("Automatically linking with ngtlb10d.dll")
  11. #else
  12. #pragma comment(lib,"ngtlb10r.lib")
  13. #pragma message("Automatically linking with ngtlb10r.dll")
  14. #endif
  15. #endif
  16. #ifndef TBSTYLE_TRANSPARENT
  17. // Old commctrl.h compatibility
  18. #define TBSTYLE_TRANSPARENT     0x8000 
  19. #endif
  20. #include <NGenericToolBar.h>
  21. #include <NGenericMenu.h>
  22. #include <NMDIMenuFrameWnd.h>
  23. #include <NSDIMenuFrameWnd.h>
  24. #include <NMDIClient.h>
  25. #include <GripDialogBar.h>
  26. #include <SizeCBar.h>
  27. #include <SizingTabCtrlBar.h>
  28. #include <NCtrlSizeBar.h>
  29. #ifdef AUTO_SUBCLASS
  30. // Automatically use new classes
  31. #define CMDIFrameWnd CNMDIMenuFrameWnd
  32. #define CFrameWnd CNSDIMenuFrameWnd
  33. #define CToolBar CNGenericToolBar
  34. #endif
  35. #endif