home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / mapi / simplemapi / mapiapp.h < prev    next >
C/C++ Source or Header  |  1996-03-28  |  1KB  |  41 lines

  1. /* QuickCase:W KNB Version 1.00 */
  2. #include <windows.h>
  3. #include <string.h>
  4. #define IDM_ACCESS                1000
  5. #define IDM_A_LOGON                    1050
  6. #define IDM_A_LOGOFF                   1100
  7. #define IDM_SEND                  2000
  8. #define IDM_S_MAIL                     2050
  9. #define IDM_S_DOCUMENT                 2100
  10. #define IDM_MANIPULATE            3000
  11. #define IDM_M_FINDFIRST           3040
  12. #define IDM_M_FINDNEXT                 3050
  13. #define IDM_M_READ                     3100
  14. #define IDM_M_DELETE                   3150
  15.  
  16. #define IDS_ERR_REGISTER_CLASS   1
  17. #define IDS_ERR_CREATE_WINDOW    2
  18. #define IDS_FROM                 3 
  19. #define IDS_TO                   4
  20. #define IDS_DATE                 5
  21. #define IDS_SUBJECT              6
  22. #define IDS_MESSAGE              7
  23. #define IDS_RETURNED_ERROR       8
  24. #define IDS_FAILED               9
  25. #define IDS_GOOD_JOB            10
  26. #define IDS_SUCCESS             11
  27. #define IDS_ERR_NO_MEMORY       12
  28. #define IDS_APP_TITLE           13
  29.  
  30.  
  31. char szString[128];   /* variable to load resource strings         */
  32.  
  33. char szAppName[20];   /* class name for the window               */
  34. HINSTANCE hInst;
  35. HWND hWndMain;
  36.  
  37.  
  38. LONG FAR PASCAL WndProc(HWND, UINT, WPARAM, LPARAM);
  39. int nCwRegisterClasses(void);
  40. void CwUnRegisterClasses(void);
  41. LPTSTR GetStringRes (int id);