home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / mapi / checkers.frm / dlg.h < prev    next >
C/C++ Source or Header  |  1996-04-11  |  3KB  |  102 lines

  1. // Menu ID's
  2.  
  3. #define IDM_EXIT            (WM_USER+4)
  4.  
  5. #define IDM_GAME_CHECKERS   (WM_USER+10)
  6. #define IDM_GAME_GIVEAWAY   (WM_USER+11)
  7. #define IDM_PLAYERS         (WM_USER+13)
  8.  
  9. #define IDM_BACK            (WM_USER+20)
  10. #define IDM_FORWARD         (WM_USER+21)
  11. #define IDM_SETUP_BOARD     (WM_USER+22)
  12. #define IDM_CONTINUE        (WM_USER+23)
  13.  
  14. #define IDM_FLIP            (WM_USER+53)
  15. #define IDM_SETDRAWMOVES    (WM_USER+72)
  16. #define IDM_MUST_JUMP       (WM_USER+73)
  17.  
  18. #define IDM_ABOUT           (WM_USER+79)
  19.  
  20. // Some dialog ID's
  21.  
  22. #define IDT_COMPANY_NAME    (WM_USER+80)
  23. #define IDT_FILE_DESC       (WM_USER+81)
  24. #define IDT_PROD_VER        (WM_USER+82)
  25. #define IDT_COPYRIGHT       (WM_USER+83)
  26. #define IDT_TRADEMARKS      (WM_USER+84)
  27.  
  28. #define DLG_VERFIRST        IDT_COMPANY_NAME
  29. #define DLG_VERLAST         IDT_TRADEMARKS
  30.  
  31. // Setup menu ID's
  32.  
  33. #define IDM_SETUP_EXIT      (WM_USER+93)
  34.  
  35. // Other ID's
  36.  
  37. #define WM_OTHERINIT        (WM_USER+100)
  38.  
  39.  
  40. // SetWeights dialog
  41.  
  42. #define IDEC_PIECE                  111
  43. #define IDEC_BLANK                  112
  44. #define IDEC_MOVE_THEORY            113
  45. #define IDEC_CENTER_POSITION        114
  46. #define IDEC_DOUBLE_CORNERS         115
  47. #define IDEC_KING_ROW               116
  48. #define IDEC_KING                   118
  49. #define IDEC_EDGES                  119
  50.  
  51. // Config Depth Dialog
  52.  
  53. #define IDEC_RECURSION_DEPTH        201
  54. #define ID_HELP                     203
  55. #define IDEC_PRUNING_DEPTH          204
  56. #define IDEC_PRUNING_WIDTH          206
  57. #define IDRB_P1_HUMAN               103
  58. #define IDRB_P1_COMPUTER            110
  59. #define IDRB_P1_NETWORK             117
  60. #define IDRB_P2_HUMAN               121
  61. #define IDRB_P2_COMPUTER            122
  62. #define IDRB_P2_NETWORK             123
  63. #define IDB_P1_COMPUTER_SETUP       3
  64. #define IDB_P1_NETWORK_SETUP        4
  65. #define IDB_P2_COMPUTER_SETUP       8
  66. #define IDB_P2_NETWORK_SETUP        9
  67. #define IDCB_MUST_JUMP              101
  68. #define IDCB_OPENING_BOOK           102
  69. #define IDCB_SHOW_COMMAND_WIN       105
  70. #define IDCB_SHOW_MOVES             106
  71. #define IDCB_SHOW_TIMER             107
  72. #define IDCB_SHOW_COMMAND           108
  73. #define IDCB_SHOW_OPEN_INFO         129
  74. #define IDCB_SHOW_DEBUG             130
  75. #define IDCB_USE_MEM_POSITIONS      104
  76. #define IDCB_USE_MOVE_THEORY        109
  77. #define IDCB_MOVE_SHUFFLING         120
  78. #define IDB_WEIGHTS                 124
  79. #define IDCB_EQUAL_MOVE_SKIPPING    125
  80. #define IDCB_GOOD_MOVE_SKIPPING     126
  81. #define IDCB_ALPHA_BETA_PRUNING     127
  82. #define IDCB_USE_OPENING_BOOK       128
  83. #define IDEC_BOOK_MOVE_DEPTH        131
  84. #define IDEC_FORMATION              132
  85. #define IDEC_FORMATION_CUTOFF       133
  86. #define IDB_PLAYER1                 137
  87. #define IDB_PLAYER2                 138
  88. #define IDCB_SHORT_JUMP_EVAL        134
  89. #define IDRB_SHORT_JUMP_EVAL        135
  90. #define IDEC_MAX_MOVES              136
  91.  
  92. // Form specific menu items and helper messages
  93.  
  94. #ifndef NO_FORM
  95. #define EM_GIVEFORMTOHWND           (WM_USER + 1000)
  96. #define IDM_ADDRESS                 (WM_USER + 1001)
  97. #define IDM_HINT                    (WM_USER + 1002)
  98. #define IDM_SAVE                    (WM_USER+2)
  99. #endif
  100.  
  101. #define IDM_BASE_LEVEL              (WM_USER + 5000) // from IDM_BASE_LEVEL through base level plus 20 are reserved
  102.