home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / directx / bellhop / bellhop.rc < prev    next >
Text File  |  1997-07-14  |  9KB  |  277 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. /////////////////////////////////////////////////////////////////////////////
  25. //
  26. // Dialog
  27. //
  28.  
  29. IDD_LOBBYDIALOG DIALOGEX 0, 0, 363, 235
  30. STYLE DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_CAPTION | 
  31.     WS_SYSMENU | WS_THICKFRAME
  32. EXSTYLE WS_EX_CONTROLPARENT
  33. CAPTION "DirectPlay Lobby"
  34. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  35. BEGIN
  36.     EDITTEXT        IDC_SENDEDIT,7,214,293,14,ES_AUTOHSCROLL
  37.     DEFPUSHBUTTON   "Send",IDC_SENDBUTTON,306,214,50,14
  38.     EDITTEXT        IDC_LOGEDIT,140,7,216,197,ES_MULTILINE | ES_AUTOHSCROLL | 
  39.                     ES_READONLY | WS_VSCROLL | WS_HSCROLL | NOT WS_TABSTOP
  40.     CONTROL         "Tree1",IDT_MESSAGEVIEW,"SysTreeView32",TVS_HASBUTTONS | 
  41.                     TVS_HASLINES | TVS_LINESATROOT | TVS_EDITLABELS | 
  42.                     WS_BORDER | WS_TABSTOP,7,7,132,197,WS_EX_NOPARENTNOTIFY | 
  43.                     WS_EX_CLIENTEDGE
  44. END
  45.  
  46. IDD_CONNECTDIALOG DIALOG DISCARDABLE  0, 0, 181, 119
  47. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  48. CAPTION "Choose A Connection"
  49. FONT 8, "MS Shell Dlg"
  50. BEGIN
  51.     COMBOBOX        IDC_SPCOMBO,7,7,167,85,CBS_DROPDOWNLIST | CBS_SORT | 
  52.                     WS_VSCROLL | WS_TABSTOP
  53.     LISTBOX         IDC_SESSIONLIST,7,27,167,63,LBS_SORT | 
  54.                     LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  55.     PUSHBUTTON      "Join as player",IDC_JOINBUTTON,16,98,61,14
  56.     PUSHBUTTON      "Join as spectator",IDC_SPECTATORBUTTON,102,98,61,14
  57. END
  58.  
  59. IDD_LOBBYGROUPDIALOG DIALOG DISCARDABLE  0, 0, 266, 166
  60. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  61. CAPTION "Create Group"
  62. FONT 8, "MS Sans Serif"
  63. BEGIN
  64.     EDITTEXT        IDC_SHORTNAMEEDIT,53,7,138,14,ES_AUTOHSCROLL
  65.     COMBOBOX        IDC_APPCOMBO,87,77,117,57,CBS_DROPDOWNLIST | CBS_SORT | 
  66.                     WS_DISABLED | WS_VSCROLL | WS_TABSTOP
  67.     EDITTEXT        IDC_PASSWORDEDIT,87,115,117,14,ES_AUTOHSCROLL | 
  68.                     WS_DISABLED
  69.     EDITTEXT        IDC_MAXPLAYERSEDIT,86,135,40,14,ES_AUTOHSCROLL | 
  70.                     ES_NUMBER | WS_DISABLED
  71.     DEFPUSHBUTTON   "OK",IDOK,209,7,50,14
  72.     PUSHBUTTON      "Cancel",IDCANCEL,209,24,50,14
  73.     LTEXT           "Short Name",IDC_STATIC,7,9,42,8
  74.     LTEXT           "Game to play",IDC_STATIC,13,79,54,8
  75.     LTEXT           "Game password",IDC_STATIC,14,119,54,8
  76.     LTEXT           "Max. players in game",IDC_STATIC,13,138,54,8
  77.     GROUPBOX        "",IDC_STATIC,9,51,201,108
  78.     CONTROL         "Staging Area",IDC_STAGINGAREA,"Button",BS_AUTOCHECKBOX | 
  79.                     WS_TABSTOP,15,57,97,10
  80.     EDITTEXT        IDC_LONGNAMEEDIT,53,28,137,14,ES_AUTOHSCROLL
  81.     LTEXT           "Long Name",IDC_STATIC,7,30,39,8
  82.     COMBOBOX        IDC_GROUPCONNECTIONSPCOMBO,87,96,118,51,CBS_DROPDOWN | 
  83.                     CBS_SORT | WS_DISABLED | WS_VSCROLL | WS_TABSTOP
  84.     LTEXT           "Connect using",IDC_STATIC,14,97,55,8
  85. END
  86.  
  87. IDD_CONNECTIONSETTINGSDIALOG DIALOG DISCARDABLE  0, 0, 266, 109
  88. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  89. CAPTION "Staging Area Connection Settings"
  90. FONT 8, "MS Sans Serif"
  91. BEGIN
  92.     COMBOBOX        IDC_APPCOMBO,81,7,117,57,CBS_DROPDOWNLIST | CBS_SORT | 
  93.                     WS_VSCROLL | WS_TABSTOP
  94.     EDITTEXT        IDC_PASSWORDEDIT,81,45,117,14,ES_AUTOHSCROLL
  95.     EDITTEXT        IDC_MAXPLAYERSEDIT,81,65,40,14,ES_AUTOHSCROLL | 
  96.                     ES_NUMBER
  97.     DEFPUSHBUTTON   "OK",IDOK,209,7,50,14
  98.     PUSHBUTTON      "Cancel",IDCANCEL,209,24,50,14
  99.     LTEXT           "Game to play",-1,7,9,54,8
  100.     LTEXT           "Game password",-1,8,49,54,8
  101.     LTEXT           "Max. players in game",-1,7,68,54,8
  102.     COMBOBOX        IDC_GROUPCONNECTIONSPCOMBO,81,26,118,51,CBS_DROPDOWN | 
  103.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
  104.     LTEXT           "Connect using",-1,8,27,55,8
  105. END
  106.  
  107. IDD_SECURITYCREDENTIALSDIALOG DIALOG DISCARDABLE  0, 0, 231, 106
  108. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  109. CAPTION "Security Information (Required)"
  110. FONT 8, "MS Sans Serif"
  111. BEGIN
  112.     DEFPUSHBUTTON   "OK",IDOK,174,7,50,14
  113.     PUSHBUTTON      "Cancel",IDCANCEL,174,24,50,14
  114.     EDITTEXT        IDC_SECURENAME,7,18,154,14,ES_AUTOHSCROLL
  115.     LTEXT           "Name",IDC_STATIC,7,7,20,8
  116.     EDITTEXT        IDC_SECUREPASSWORD,7,48,154,14,ES_PASSWORD | 
  117.                     ES_AUTOHSCROLL
  118.     LTEXT           "Password",IDC_STATIC,7,39,32,8
  119.     EDITTEXT        IDC_SECUREDOMAIN,7,78,154,14,ES_AUTOHSCROLL
  120.     LTEXT           "Domain",IDC_STATIC,7,68,25,8
  121. END
  122.  
  123.  
  124. /////////////////////////////////////////////////////////////////////////////
  125. //
  126. // DESIGNINFO
  127. //
  128.  
  129. #ifdef APSTUDIO_INVOKED
  130. GUIDELINES DESIGNINFO DISCARDABLE 
  131. BEGIN
  132.     IDD_LOBBYDIALOG, DIALOG
  133.     BEGIN
  134.         LEFTMARGIN, 7
  135.         RIGHTMARGIN, 356
  136.         TOPMARGIN, 7
  137.         BOTTOMMARGIN, 228
  138.     END
  139.  
  140.     IDD_CONNECTDIALOG, DIALOG
  141.     BEGIN
  142.         LEFTMARGIN, 7
  143.         RIGHTMARGIN, 174
  144.         TOPMARGIN, 7
  145.         BOTTOMMARGIN, 112
  146.     END
  147.  
  148.     IDD_LOBBYGROUPDIALOG, DIALOG
  149.     BEGIN
  150.         LEFTMARGIN, 7
  151.         RIGHTMARGIN, 259
  152.         TOPMARGIN, 7
  153.         BOTTOMMARGIN, 159
  154.     END
  155.  
  156.     IDD_CONNECTIONSETTINGSDIALOG, DIALOG
  157.     BEGIN
  158.         LEFTMARGIN, 7
  159.         RIGHTMARGIN, 259
  160.         TOPMARGIN, 7
  161.         BOTTOMMARGIN, 102
  162.     END
  163.  
  164.     IDD_SECURITYCREDENTIALSDIALOG, DIALOG
  165.     BEGIN
  166.         LEFTMARGIN, 7
  167.         RIGHTMARGIN, 224
  168.         TOPMARGIN, 7
  169.         BOTTOMMARGIN, 99
  170.     END
  171. END
  172. #endif    // APSTUDIO_INVOKED
  173.  
  174.  
  175. #ifdef APSTUDIO_INVOKED
  176. /////////////////////////////////////////////////////////////////////////////
  177. //
  178. // TEXTINCLUDE
  179. //
  180.  
  181. 1 TEXTINCLUDE DISCARDABLE 
  182. BEGIN
  183.     "resource.h\0"
  184. END
  185.  
  186. 2 TEXTINCLUDE DISCARDABLE 
  187. BEGIN
  188.     "#include ""afxres.h""\r\n"
  189.     "\0"
  190. END
  191.  
  192. 3 TEXTINCLUDE DISCARDABLE 
  193. BEGIN
  194.     "\r\n"
  195.     "\0"
  196. END
  197.  
  198. #endif    // APSTUDIO_INVOKED
  199.  
  200.  
  201. /////////////////////////////////////////////////////////////////////////////
  202. //
  203. // Icon
  204. //
  205.  
  206. // Icon with lowest ID value placed first to ensure application icon
  207. // remains consistent on all systems.
  208. IDI_BELLHOP             ICON    DISCARDABLE     "Bellhop.ico"
  209. IDI_PLAYER              ICON    DISCARDABLE     "friends.ico"
  210. IDI_SHORTCUT            ICON    DISCARDABLE     "group1.ico"
  211. IDI_STAGINGAREA         ICON    DISCARDABLE     "icon1.ico"
  212. IDI_OPENDOOR            ICON    DISCARDABLE     "OpenDoor.ico"
  213. IDI_CLOSEDDOOR          ICON    DISCARDABLE     "ClosDoor.ico"
  214. IDI_SESSIONINPROGRESS   ICON    DISCARDABLE     "SASesInP.ico"
  215. IDI_SPECTATOR           ICON    DISCARDABLE     "spect.ico"
  216.  
  217. /////////////////////////////////////////////////////////////////////////////
  218. //
  219. // Menu
  220. //
  221.  
  222. IDM_MENU MENU DISCARDABLE 
  223. BEGIN
  224.     POPUP "Root"
  225.     BEGIN
  226.         MENUITEM "CreateGroup",                 ID_ROOT_CREATEGROUP
  227.         MENUITEM "EnumRootGroups",              ID_ROOT_ENUMROOTGROUPS
  228.         MENUITEM "Refresh",                     ID_ROOT_ENUMRECURSIVE
  229.     END
  230.     POPUP "Group"
  231.     BEGIN
  232.         MENUITEM "CreateGroupInGroup",          ID_CREATEGROUPINGROUP
  233.         MENUITEM "DestroyGroup",                ID_DESTROYGROUP
  234.         MENUITEM "SetGroupName",                ID_GROUP_SETGROUPNAME
  235.         MENUITEM SEPARATOR
  236.         MENUITEM "StartSession",                ID_GROUP_STARTSESSION
  237.         , GRAYED
  238.         MENUITEM "ConnectionSettings",          ID_GROUP_CONNECTIONSETTINGS
  239.         , GRAYED
  240.     END
  241.     POPUP "Player"
  242.     BEGIN
  243.         MENUITEM "DestroyPlayer",               ID_PLAYER_DESTROYPLAYER
  244.         MENUITEM "GetPlayerName",               ID_PLAYER_GETPLAYERNAME
  245.         MENUITEM "SetPlayerName",               ID_PLAYER_SETPLAYERNAME
  246.     END
  247.     POPUP "Shortcut"
  248.     BEGIN
  249.         MENUITEM "DeleteGroupFromGroup",        ID_SHORTCUT_DELETEGROUPFROMGROUP
  250.  
  251.         MENUITEM "SetGroupName",                ID_SHORTCUT_SETGROUPNAME
  252.     END
  253.     POPUP "PlayerInGroup"
  254.     BEGIN
  255.         MENUITEM "DeletePlayerFromGroup",       ID_PLAYERINGROUP_DELETEPLAYERFROMGROUP
  256.  
  257.         MENUITEM "SetPlayerName",               ID_PLAYERINGROUP_SETPLAYERNAME
  258.  
  259.     END
  260. END
  261.  
  262. #endif    // English (U.S.) resources
  263. /////////////////////////////////////////////////////////////////////////////
  264.  
  265.  
  266.  
  267. #ifndef APSTUDIO_INVOKED
  268. /////////////////////////////////////////////////////////////////////////////
  269. //
  270. // Generated from the TEXTINCLUDE 3 resource.
  271. //
  272.  
  273.  
  274. /////////////////////////////////////////////////////////////////////////////
  275. #endif    // not APSTUDIO_INVOKED
  276.  
  277.