home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / AVBROWSE.ZIP / BROWSE.H < prev    next >
C/C++ Source or Header  |  1989-02-08  |  2KB  |  62 lines

  1. /* -----------------------------------------------------------------*\
  2. /*    File Browser Demo Headers
  3. /*    Version 1.0
  4. /*    Created by Microsoft Corp. 1988
  5. /* -----------------------------------------------------------------*/
  6.  
  7. /* ------------------------------------ */
  8. /* forward declarations         */
  9. /* ------------------------------------ */
  10.  
  11. /* -- top-level */
  12. int cdecl main(int, char *[]);
  13. void ReadFile(void);
  14. void DosReadFile(void);
  15.  
  16. /* -- line-level    */
  17. SHORT StoreLine(char *);
  18. char * _loadds RetrieveLine(USHORT);
  19.  
  20. /* -- Window routines */
  21. MRESULT CALLBACK BrowseWndProc(HWND, USHORT, MPARAM, MPARAM);
  22. MRESULT CALLBACK AboutDlgProc(HWND, USHORT, MPARAM, MPARAM);
  23.  
  24. /* ------------------------------------ */
  25. /* constant definitions         */
  26. /* ------------------------------------ */
  27. #define NUM_DATA_LINES 4096
  28.  
  29. /**********************************************************************\
  30. *  Resource Ids
  31. \**********************************************************************/
  32.  
  33. #define ID_RESOURCE    1
  34. #define IDD_ABOUT      2
  35. #define IDD_SKEL       3
  36.  
  37.  
  38. /**********************************************************************\
  39. *  IDD - ID for Dialog item
  40. *  IDM - ID for Menu commands
  41. *  IDS - ID for String table
  42. *  IDT - ID for Timers
  43. \**********************************************************************/
  44.  
  45. #define ID_NULL         -1
  46.  
  47. #define IDM_FILE    10
  48. #define    IDM_OPEN    0x0100
  49. #define IDM_ABOUT       0x0101
  50. #define    IDM_FONT    0x0102
  51.  
  52. #define IDS_CONTENT     10
  53. #define IDS_CLOSE       11
  54. #define IDS_OKCLOSE     12
  55. #define IDS_SAVE        13
  56. #define IDS_OKSAVE      14
  57. #define IDS_ASYNC       15
  58. #define IDS_OKASYNC     16
  59. #define IDS_ABOUT       18
  60. #define IDS_TITLE       19
  61. #define IDS_DEFAULT     20
  62.