home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / activedocument / dfv / dfv.h < prev    next >
C/C++ Source or Header  |  1995-02-13  |  2KB  |  70 lines

  1. //+---------------------------------------------------------------------------
  2. //
  3. //  Microsoft Windows
  4. //  Copyright (C) Microsoft Corporation, 1992 - 1995.
  5. //
  6. //  File:       DFV.h
  7. //
  8. //  Contents:   globally defined constants, IDs and structures
  9. //
  10. //  History:    6-08-94   stevebl   Created
  11. //
  12. //----------------------------------------------------------------------------
  13.  
  14. #ifndef __DFV_H__
  15. #define __DFV_H__
  16.  
  17. #include <windows.h>
  18. #include <ole2.h>
  19. #include "message.h"
  20.  
  21. // String Constants
  22. #define VER_FILEDESCRIPTION_STR     "Windows NT Docfile Viewer"
  23. #define VER_INTERNALNAME_STR        "DocFile Viewer"
  24. #define VER_ORIGINALFILENAME_STR    "DFVIEW.exe"
  25. #define HELPFILE_STR                "OLETools.hlp"
  26. #define MAIN_WINDOW_CLASS_NAME      "MainDFVWindow"
  27. #define MAIN_WINDOW_CLASS_MENU      MainDFVMenu
  28. #define MAIN_WINDOW_CLASS_MENU_STR  "MainDFVMenu"
  29. #define STREAM_VIEW_CLASS_NAME      "Stream Viewer"
  30.  
  31. // Menu Command Identifiers
  32. #define IDM_EXIT                    1000
  33. #define IDM_OPEN                    1001
  34. #define IDM_CLOSE                   1002
  35. #define IDM_EXPAND                  1100
  36. #define IDM_EXPANDBRANCH            1101
  37. #define IDM_EXPANDALL               1102
  38. #define IDM_COLLAPSE                1103
  39. #define IDM_COLLAPSEALL             1104
  40. #define IDM_TOGGLE                  1105
  41. #define IDM_HELP                    1200
  42. #define IDM_ABOUT                   1201
  43.  
  44. // Listbox Identifiers
  45. #define IDC_LISTBOX                 4000
  46. #define IDC_STREAMVIEW              4001
  47.  
  48. // Bitmap Identifiers
  49. #define BMP_STREAM                  3000
  50. #define BMP_STORAGE                 3001
  51. // String Identifiers
  52. #define IDS_ERROR                   2000
  53. #define IDS_NOHELPFILE              2001
  54. #define IDS_OLEINCOMPATIBLE         2002
  55. #define IDS_OLEINITFAILED           2003
  56. #define IDS_ENUMSTATSTGFAILED       2004
  57. #define IDS_OPENSTORAGEFAILED       2005
  58. #define IDS_OPENSTREAMFAILED        2006
  59. #define IDS_ENUMELEMENTSFAILED      2007
  60. #define IDS_INSERTSTRINGFAILED      2008
  61. #define IDS_LOADBITMAPSFAILED       2009
  62. #define IDS_STGOPENSTORAGEFAILED    2010
  63. #define IDS_STMSTATFAILED           2011
  64. #define IDS_STMSEEKFAILED           2012
  65. #define IDS_STMREADFAILED           2013
  66. #define IDS_STMTITLETEXT            2014
  67. #define IDS_OUTOFMEMORY             2015
  68.  
  69. #endif // __DFV_H__
  70.