home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / COMTALK.ZIP / COMTALK.H < prev    next >
C/C++ Source or Header  |  1989-02-08  |  2KB  |  59 lines

  1. #include "global.h"
  2. /* Resource ID -- Main Program */
  3. #define        ID_RESOURCE        1
  4.  
  5. /* Dialog boxes */
  6. #define        IDD_ABOUT        2    /* About... */
  7. #define        IDD_SET            3    /* Settings... */
  8. #define        IDD_MAINHELPBOX        4    /* F1 = Help, Main */
  9. #define        IDD_SETHELPBOX        5    /* F1 = Help, Settings... */
  10.  
  11. /* Main menus */
  12. #define     IDM_ABOUT        10    /* on the System menu */
  13.  
  14. #define     IDM_SESSIONMENU     2    /* Session Menu */
  15. #define        IDM_SETTINGS        0x200    /*     Settings... */
  16. #define        IDM_CONNECT        0x201    /*    Open Port   */
  17. #define        IDM_CLOSE        0x202    /*    Close Port  */
  18.  
  19. #define     IDM_COMMANDMENU     3    /* Command menu */
  20. #define     IDM_PAGING        0x300    /*    Page Mode   */
  21. #define        IDM_BREAK        0x301    /*    Send Break  */
  22. #define        IDM_UP            0x302    /*    Page Up     */
  23. #define     IDM_PAGE        0x303    /*    Page Down   */
  24.  
  25. #define        IDM_ERRORS        4    /* Errors! hotspot */
  26.  
  27. #define        IDM_HELP        5    /* F1 = Help */
  28.  
  29. /* Settings... subitems */
  30. #define        IDD_NOP            0    /* Cheater parity settings */
  31. #define        IDD_ODDP        1    /* Just perfect for 1/42H  */
  32. #define        IDD_EVENP        2
  33. #define        IDD_MARKP        3
  34. #define        IDD_SPACEP        4
  35.  
  36. #define        IDD_FIVE        5    /* Cheater databits settings */
  37. #define        IDD_SIX            6
  38. #define        IDD_SEVEN        7
  39. #define        IDD_EIGHT        8
  40.  
  41. #define        IDD_ONESTOP        20    /* Stop bit settings */
  42. #define        IDD_ONEFIVE        21    /* Hardcoded into program! */
  43. #define        IDD_TWOSTOP        22
  44.  
  45. #define        IDD_PORT        30    /* Port */
  46. #define        IDD_BAUD        31    /* Baud rate */
  47. #define        IDD_WRAP        32    /* Word Wrap */
  48. #define        IDD_HW            33    /* Hardware handshake */
  49. #define        IDD_SW            34    /* Software handshake */
  50.  
  51. #define        IDD_SAVE        40    /* Big SAVE button */
  52. #define        IDD_SETHELP        41    /* F1 = Help button in dialog */
  53.  
  54. /* Global Routines */
  55. MRESULT CALLBACK ClientWndProc(HWND, USHORT, MPARAM, MPARAM);
  56. MRESULT CALLBACK AboutDlgProc(HWND, USHORT, MPARAM, MPARAM);
  57. MRESULT CALLBACK SetDlgProc(HWND, USHORT, MPARAM, MPARAM);
  58. MRESULT CALLBACK NewFrameWndProc(HWND, USHORT, MPARAM, MPARAM);
  59.