home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / ole / client / cldemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-01-17  |  1.8 KB  |  67 lines

  1. //---------------------------------------------------------------------------
  2. // cldemo.h
  3. //
  4. // Copyright (c) Microsoft Corporation, 1990-
  5. //---------------------------------------------------------------------------
  6.  
  7. extern HWND     hwndMain;
  8. extern WORD     cfLink, cfOwnerLink, cfNative;
  9. extern BOOL     fDirty;
  10.  
  11. #define szAppName      "Client"
  12. #define szHostname     szAppName
  13. #define szHostobjectname ""
  14.  
  15. #define IDM_NEW        0x0100
  16. #define IDM_OPEN       0x0101
  17. #define IDM_SAVE       0x0102
  18. #define IDM_SAVEAS     0x0103
  19. #define IDM_EXIT       0x0104
  20. #define IDM_INSERT     0x0105
  21. #define IDM_INSERTFILE 0x0106
  22. #define IDM_CLOSE      0x0107
  23. #define IDM_PRINT      0x0108
  24.  
  25. #define IDM_SHAPES      0x0201
  26. #define IDM_PBRUSH      0x0202
  27. #define IDM_EXCEL          0x0203
  28. #define IDM_GRAPH          0x0204
  29. #define IDM_TORUS          0x0205
  30.  
  31.  
  32.  
  33. #define IDM_UNDO       0x0110 // try something else
  34. #define IDM_CUT        0x0111
  35. #define IDM_COPY       0x0112
  36. #define IDM_PASTE      0x0113
  37. #define IDM_LINK       0x0114
  38. #define IDM_STATIC     0x0115
  39. #define IDM_CLEAR      0x0116
  40. #define IDM_PROPERTIES 0x0117
  41. #define IDM_RECONNECT  0x0118
  42. #define IDM_COPYLINK  0x0119
  43. #define IDM_EQUAL          0x011a
  44.  
  45. #define IDM_ABOUT      0x0120
  46.  
  47. #define IDD_MANUAL     0x0130
  48. #define IDD_AUTO       0x0131
  49. #define IDD_FREEZE     0x0132
  50. #define IDD_UPDATE     0x0133
  51. #define IDD_EDIT       0x0134
  52. #define IDD_WHAT       0x0135
  53. #define IDD_WHICH      0x0136
  54. #define IDD_LINKINFO   0x0137
  55. #define IDD_DOCNM           0x0138
  56. #define IDD_ITEMNM   0x0139
  57.  
  58. #define IDC_FILENAME   0x0100
  59. #define IDC_EDIT       0x0101    
  60. #define IDC_PATH       0x0102
  61. #define IDC_FILES      0x0103
  62. #define IDC_LISTBOX    0x0104
  63.  
  64. HWND CreateItemWindow (HWND, BOOL, LPRECT);
  65.  
  66. long far PASCAL EditWndProc(HWND hwnd, unsigned message, WORD wParam, LONG lParam);
  67.