home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / os2sdk / os2sdk11 / tk3 / comtalk / comtalk.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-02-20  |  2.0 KB  |  63 lines

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