home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / wpj_mag / wpjv1n6.zip / EDITPRO.ZIP / EDITPRO.H < prev    next >
C/C++ Source or Header  |  1993-04-30  |  1KB  |  43 lines

  1.  
  2. // EditPro Text File Editor Copyright (c) 1993 Eric Grass
  3. // "editpro.h"
  4.  
  5. /* QuickCase:W KNB Version 1.00 */
  6. #include <windows.h>
  7. #include <string.h>
  8. #include <stdlib.h>
  9. #define IDM_FILE                  1000
  10. #define IDM_F_OPENT                    1050
  11. #define IDM_F_CLOSE                    1100
  12. #define IDM_F_EXITT                    1200
  13. #define IDM_F_ABOUT                    1300
  14.  
  15. #define IDS_ERR_REGISTER_CLASS   1
  16. #define IDS_ERR_CREATE_WINDOW    2
  17. #define IDS_ERR_FILE2BIG         3
  18. #define IDS_ERR_2MANYLINES       4
  19.  
  20. // Defines for the Line structure
  21. #define    LINELNGTH    256
  22. #define MAXCHARS    251
  23. #define    FIRSTCHAR    5
  24. #define INFOBYTE4    4
  25.  
  26. char szString[128];   /* variable to load resource strings         */
  27.  
  28. char szAppName[20];   /* class name for the window               */
  29. HWND hInst;
  30. HWND hWndMain;
  31. HANDLE hAccel;
  32.  
  33. void cwCenter(HWND, int);
  34.  
  35. void    FAR PASCAL DOS3Call( void);
  36. LONG    FAR PASCAL WndProc(HWND, WORD, WORD, LONG);
  37. BOOL    FAR PASCAL ABOUTMsgProc(HWND, WORD, WORD, LONG);
  38. int    nCwRegisterClasses(void);
  39. void    CwUnRegisterClasses(void);
  40. void    FileRoutine( void);
  41. void    CreateMsgBox( HWND, WORD);
  42. int    OkayMessageBoxf( HWND, PSTR, int);
  43.