home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pmtclsh.zip / src.zip / pmtclsh.h < prev    next >
Text File  |  1996-10-08  |  1KB  |  52 lines

  1. /*-----------------------
  2.    WINTCLSH.H header file
  3.   -----------------------*/
  4.  
  5. /* RESOURCES IDs */
  6. #define ID_ABOUTDLG 100
  7. #define TCLSHRC       1
  8. #define APPTEXT       "PMTclSh"
  9. #define APPTITLE      "TclSh for OS/2 Presentation Manager ver 1.0 - Tcl 7.4 for OS/2"
  10. #define APPICON       "pmtclsh.ico"
  11.  
  12. /* MENU ITEM IDs */
  13. #define IDM_EXIT    6
  14.  
  15. #define IDM_CUT     10
  16. #define IDM_COPY    11
  17. #define IDM_PASTE    12
  18. #define IDM_DEL     13
  19.  
  20. #define IDM_HELP    20
  21. #define IDM_SOURCE    21
  22. #define IDM_ABOUT    22
  23.  
  24. /* window IDs */
  25. #define WID_EFCOMMAND 1
  26. #define WID_MLEOUTPUT 2
  27.  
  28. /* application specific messages */
  29. #define TCLSHM_PASSPARAM    WM_USER + 0
  30. #define TCLSHM_EXITINTERP       WM_USER + 1
  31.  
  32. /* constants */
  33. #define MAXLENINPUT  300
  34. #define DIMBUF        1000
  35.  
  36.  
  37. /* types definition */
  38. typedef struct _THREADPARAM
  39.         {
  40.             HEV   hSem;
  41.             HWND  hwnd;
  42.                         union {
  43.                             HFILE hPipe;
  44.                             RESULTCODES rc;
  45.                         } param;
  46.         } THREADPARAM;
  47. typedef THREADPARAM *PTHREADPARAM;
  48.  
  49.  
  50. /* prototypes */
  51. BOOL CreateInterp(HWND, HWND, HFILE);
  52. void DestroyInterp(void);