home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / d / d020_1_4 / 5.ddi / FILEOPEN / FILEOPEN.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-01  |  1003 b   |  37 lines

  1. /* file menu items */
  2.  
  3. #define     IDM_NEW      100
  4. #define     IDM_OPEN     101
  5. #define     IDM_SAVE     102
  6. #define     IDM_SAVEAS   103
  7. #define     IDM_PRINT    104
  8. #define     IDM_EXIT     105
  9. #define     IDM_ABOUT    106
  10.  
  11. /* edit menu items */
  12.  
  13. #define     IDM_UNDO     200
  14. #define     IDM_CUT      201
  15. #define     IDM_COPY     202
  16. #define     IDM_PASTE    203
  17. #define     IDM_CLEAR    204
  18.  
  19. /* Control IDs */
  20.  
  21. #define     IDC_FILENAME  400
  22. #define     IDC_EDIT      401
  23. #define     IDC_FILES     402
  24. #define     IDC_PATH      403
  25. #define     IDC_LISTBOX   404
  26.  
  27. int PASCAL WinMain(HANDLE, HANDLE, LPSTR, int);
  28. BOOL InitApplication(HANDLE);
  29. BOOL InitInstance(HANDLE, int);
  30. long FAR PASCAL MainWndProc(HWND, unsigned, WORD, LONG);
  31. BOOL FAR PASCAL About(HWND, unsigned, WORD, LONG);
  32. HANDLE FAR PASCAL OpenDlg(HWND, unsigned, WORD, LONG);
  33. void SeparateFile(HWND, LPSTR, LPSTR, LPSTR);
  34. void UpdateListBox(HWND);
  35. void AddExt(PSTR, PSTR);
  36. void ChangeDefExt(PSTR, PSTR);
  37.