Simple.rc
上传用户:chn_coc
上传日期:2007-12-20
资源大小:563k
文件大小:10k
源码类别:

P2P编程

开发平台:

Windows_Unix

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. // Generated Help ID header file
  5. #define APSTUDIO_HIDDEN_SYMBOLS
  6. #include "resource.hm"
  7. #undef APSTUDIO_HIDDEN_SYMBOLS
  8. #define APSTUDIO_READONLY_SYMBOLS
  9. /////////////////////////////////////////////////////////////////////////////
  10. //
  11. // Generated from the TEXTINCLUDE 2 resource.
  12. //
  13. #define APSTUDIO_HIDDEN_SYMBOLS
  14. #include "windows.h"
  15. #undef APSTUDIO_HIDDEN_SYMBOLS
  16. #include "resource.h"
  17. /////////////////////////////////////////////////////////////////////////////
  18. #undef APSTUDIO_READONLY_SYMBOLS
  19. /////////////////////////////////////////////////////////////////////////////
  20. // English (U.S.) resources
  21. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  22. #ifdef _WIN32
  23. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  24. #pragma code_page(1252)
  25. #endif //_WIN32
  26. /////////////////////////////////////////////////////////////////////////////
  27. //
  28. // Icon
  29. //
  30. // Icon with lowest ID value placed first to ensure application icon
  31. // remains consistent on all systems.
  32. IDI_SIMPLE              ICON    DISCARDABLE     "Simple.ICO"
  33. IDI_SMALL2              ICON    DISCARDABLE     "small1.ico"
  34. IDI_SMALL               ICON    DISCARDABLE     "small3.ico"
  35. /////////////////////////////////////////////////////////////////////////////
  36. //
  37. // Menu
  38. //
  39. IDC_SIMPLE MENU DISCARDABLE 
  40. BEGIN
  41.     POPUP "&File"
  42.     BEGIN
  43.         MENUITEM "E&xit",                       IDM_EXIT
  44.     END
  45.     POPUP "&Help"
  46.     BEGIN
  47.         MENUITEM "&About ...",                  IDM_ABOUT
  48.     END
  49.     POPUP "Settings"
  50.     BEGIN
  51.         MENUITEM "GUI",                         IDM_SETTINGS_GUI
  52.     END
  53. END
  54. IDR_TRAYMENU MENU DISCARDABLE 
  55. BEGIN
  56.     POPUP "popup"
  57.     BEGIN
  58.         MENUITEM "About",                       ID_POPUP_ABOUT
  59.         MENUITEM "Help",                        ID_POPUP_HELP
  60.         MENUITEM SEPARATOR
  61.         POPUP "Popup Messages"
  62.         BEGIN
  63.             MENUITEM "PeerCast",                    ID_POPUP_SHOWMESSAGES_PEERCAST
  64.             MENUITEM "Broadcasters",                ID_POPUP_SHOWMESSAGES_BROADCASTERS
  65.             MENUITEM "Track Info",                  ID_POPUP_SHOWMESSAGES_TRACKINFO
  66.             MENUITEM "Upgrade Alerts",              ID_POPUP_POPUPMESSAGES_UPGRADEALERTS
  67.             , CHECKED, GRAYED
  68.         END
  69.         POPUP "Advanced"
  70.         BEGIN
  71.             MENUITEM "Information",                 ID_POPUP_ADVANCED_INFORMATION
  72.             MENUITEM "Relayed Channels",            ID_POPUP_ADVANCED_RELAYEDCHANNELS
  73.             MENUITEM "Broadcast",                   ID_POPUP_ADVANCED_BROADCAST
  74.             MENUITEM "Connections",                 ID_POPUP_CONNECTIONS
  75.             MENUITEM "View Log",                    ID_POPUP_ADVANCED_VIEWLOG
  76.             MENUITEM "Settings",                    ID_POPUP_SETTINGS
  77.             MENUITEM SEPARATOR
  78.             MENUITEM "Show GUI",                    ID_POPUP_ADVANCED_SHOWGUI
  79.         END
  80.         MENUITEM SEPARATOR
  81.         POPUP "Exit"
  82.         BEGIN
  83.             MENUITEM "Yes",                         ID_POPUP_EXIT_CONFIRM
  84.             MENUITEM "No",                          ID_POPUP_EXIT_NO
  85.         END
  86.     END
  87. END
  88. IDR_VERMENU MENU DISCARDABLE 
  89. BEGIN
  90.     POPUP "popup"
  91.     BEGIN
  92.         MENUITEM "Please upgrade PeerCast. Click here to download.", 
  93.                                                 ID_POPUP_UPGRADE
  94.     END
  95. END
  96. IDR_LTRAYMENU MENU DISCARDABLE 
  97. BEGIN
  98.     POPUP "popup"
  99.     BEGIN
  100.         MENUITEM SEPARATOR
  101.         MENUITEM "Yellow Pages",                ID_POPUP_YELLOWPAGES
  102.     END
  103. END
  104. /////////////////////////////////////////////////////////////////////////////
  105. //
  106. // Accelerator
  107. //
  108. IDC_SIMPLE ACCELERATORS MOVEABLE PURE 
  109. BEGIN
  110.     "?",            IDM_ABOUT,              ASCII,  ALT
  111.     "/",            IDM_ABOUT,              ASCII,  ALT
  112. END
  113. /////////////////////////////////////////////////////////////////////////////
  114. //
  115. // Dialog
  116. //
  117. IDD_ABOUTBOX DIALOG DISCARDABLE  22, 17, 163, 59
  118. STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_CENTER | WS_CAPTION | WS_SYSMENU
  119. CAPTION "About"
  120. FONT 8, "System"
  121. BEGIN
  122.     ICON            IDI_SIMPLE,IDC_MYICON,14,9,20,20
  123.     LTEXT           "PeerCast",IDC_ABOUTVER,43,9,103,8,SS_NOPREFIX
  124.     LTEXT           "Copyright (C) 2005",IDC_STATIC,43,22,119,8
  125.     PUSHBUTTON      "OK",IDOK,134,40,24,12,WS_GROUP
  126.     PUSHBUTTON      "www.peercast.org",IDC_BUTTON1,42,40,66,12
  127. END
  128. IDD_MAINWINDOW DIALOGEX 0, 0, 298, 341
  129. STYLE DS_MODALFRAME | DS_CENTER | WS_CAPTION | WS_SYSMENU
  130. CAPTION "PeerCast"
  131. FONT 8, "MS Sans Serif"
  132. BEGIN
  133.     LISTBOX         IDC_LIST1,3,291,291,43,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  134.                     WS_TABSTOP
  135.     CONTROL         "Enabled",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | 
  136.                     BS_PUSHLIKE | WS_TABSTOP,9,20,60,20,WS_EX_TRANSPARENT
  137.     EDITTEXT        IDC_EDIT1,120,18,47,12,ES_AUTOHSCROLL
  138.     LTEXT           "Port :",IDC_STATIC,100,20,18,8
  139.     LISTBOX         IDC_LIST2,3,224,291,53,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  140.                     WS_TABSTOP
  141.     LTEXT           "Log",IDC_STATIC,3,282,13,8
  142.     LTEXT           "Connections",IDC_STATIC,3,214,40,8
  143.     GROUPBOX        "",IDC_STATIC,3,4,291,49
  144.     PUSHBUTTON      "Clear",IDC_BUTTON1,25,279,25,11
  145.     LISTBOX         IDC_LIST3,3,81,291,102,LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  146.                     WS_TABSTOP
  147.     PUSHBUTTON      "Disconnect",IDC_BUTTON5,67,65,43,13
  148.     GROUPBOX        "Relays",IDC_STATIC,3,54,291,132
  149.     EDITTEXT        IDC_EDIT3,120,34,48,12,ES_PASSWORD | ES_AUTOHSCROLL
  150.     LTEXT           "Password :",IDC_STATIC,82,36,36,8
  151.     CONTROL         "Debug",IDC_LOGDEBUG,"Button",BS_AUTOCHECKBOX | 
  152.                     BS_PUSHLIKE | WS_TABSTOP,127,279,32,11
  153.     CONTROL         "Network",IDC_LOGNETWORK,"Button",BS_AUTOCHECKBOX | 
  154.                     BS_PUSHLIKE | WS_TABSTOP,185,279,35,11
  155.     CONTROL         "Errors",IDC_LOGERRORS,"Button",BS_AUTOCHECKBOX | 
  156.                     BS_PUSHLIKE | WS_TABSTOP,159,279,25,11
  157.     CONTROL         "Pause",IDC_CHECK9,"Button",BS_AUTOCHECKBOX | 
  158.                     BS_PUSHLIKE | WS_TABSTOP,54,279,30,11
  159.     PUSHBUTTON      "Play",IDC_BUTTON8,10,65,22,13
  160.     CONTROL         "Channels",IDC_LOGCHANNELS,"Button",BS_AUTOCHECKBOX | 
  161.                     BS_PUSHLIKE | WS_TABSTOP,221,279,35,11
  162.     PUSHBUTTON      "Bump",IDC_BUTTON3,41,65,24,13
  163.     EDITTEXT        IDC_EDIT9,33,189,261,14,ES_AUTOHSCROLL
  164.     CONTROL         "DJ",IDC_CHECK11,"Button",BS_AUTOCHECKBOX | BS_PUSHLIKE | 
  165.                     WS_TABSTOP,5,190,23,12
  166.     LTEXT           "Max. Relays :",IDC_STATIC,181,28,44,8
  167.     EDITTEXT        IDC_MAXRELAYS,230,26,40,14,ES_AUTOHSCROLL | ES_NUMBER
  168. END
  169. IDD_CHANINFO DIALOGEX 0, 0, 184, 207
  170. STYLE DS_SETFOREGROUND | WS_POPUP | WS_CAPTION | WS_SYSMENU
  171. EXSTYLE WS_EX_TOOLWINDOW
  172. CAPTION "Channel Information"
  173. FONT 8, "MS Sans Serif"
  174. BEGIN
  175.     LTEXT           "Name:",IDC_STATIC,7,8,24,9
  176.     EDITTEXT        IDC_EDIT_NAME,7,18,170,21,ES_MULTILINE | ES_READONLY | 
  177.                     NOT WS_BORDER | NOT WS_TABSTOP,WS_EX_STATICEDGE
  178.     LTEXT           "Playing:",IDC_STATIC,7,79,93,9
  179.     EDITTEXT        IDC_EDIT_PLAYING,8,90,170,21,ES_MULTILINE | ES_READONLY | 
  180.                     NOT WS_BORDER | NOT WS_TABSTOP,WS_EX_STATICEDGE
  181.     LTEXT           "DJ Message:",IDC_STATIC,7,117,41,9
  182.     EDITTEXT        IDC_EDIT_MESSAGE,8,128,170,21,ES_MULTILINE | ES_READONLY | 
  183.                     NOT WS_BORDER | NOT WS_TABSTOP,WS_EX_STATICEDGE
  184.     PUSHBUTTON      "URL",IDC_CONTACT,9,185,34,15,0,0,HIDC_CONTACT
  185.     LTEXT           "Description:",IDC_STATIC,7,43,67,8
  186.     EDITTEXT        IDC_EDIT_DESC,8,53,170,21,ES_MULTILINE | ES_READONLY | 
  187.                     NOT WS_BORDER | NOT WS_TABSTOP,WS_EX_STATICEDGE
  188.     RTEXT           "Format",IDC_FORMAT,69,80,107,8
  189.     LTEXT           "Genre:",IDC_STATIC,63,5,22,8
  190.     EDITTEXT        IDC_EDIT_GENRE,87,3,90,12,ES_AUTOHSCROLL | ES_READONLY | 
  191.                     NOT WS_BORDER | NOT WS_TABSTOP,WS_EX_STATICEDGE
  192.     CONTROL         "Keep",IDC_KEEP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  193.                     144,188,33,10
  194.     LTEXT           "Status:",IDC_STATIC,7,153,41,9
  195.     EDITTEXT        IDC_EDIT_STATUS,8,163,71,12,ES_READONLY | NOT WS_BORDER | 
  196.                     NOT WS_TABSTOP,WS_EX_STATICEDGE
  197.     PUSHBUTTON      "Play",IDC_PLAY,53,185,34,15
  198. END
  199. #ifdef APSTUDIO_INVOKED
  200. /////////////////////////////////////////////////////////////////////////////
  201. //
  202. // TEXTINCLUDE
  203. //
  204. 2 TEXTINCLUDE DISCARDABLE 
  205. BEGIN
  206.     "#define APSTUDIO_HIDDEN_SYMBOLSrn"
  207.     "#include ""windows.h""rn"
  208.     "#undef APSTUDIO_HIDDEN_SYMBOLSrn"
  209.     "#include ""resource.h""rn"
  210.     ""
  211. END
  212. 3 TEXTINCLUDE DISCARDABLE 
  213. BEGIN
  214.     "rn"
  215.     ""
  216. END
  217. 1 TEXTINCLUDE DISCARDABLE 
  218. BEGIN
  219.     "resource.h"
  220. END
  221. #endif    // APSTUDIO_INVOKED
  222. /////////////////////////////////////////////////////////////////////////////
  223. //
  224. // DESIGNINFO
  225. //
  226. #ifdef APSTUDIO_INVOKED
  227. GUIDELINES DESIGNINFO DISCARDABLE 
  228. BEGIN
  229.     IDD_ABOUTBOX, DIALOG
  230.     BEGIN
  231.         BOTTOMMARGIN, 58
  232.     END
  233.     IDD_MAINWINDOW, DIALOG
  234.     BEGIN
  235.         LEFTMARGIN, 3
  236.         RIGHTMARGIN, 294
  237.         TOPMARGIN, 3
  238.         BOTTOMMARGIN, 336
  239.     END
  240.     IDD_CHANINFO, DIALOG
  241.     BEGIN
  242.         LEFTMARGIN, 7
  243.         RIGHTMARGIN, 177
  244.         TOPMARGIN, 7
  245.         BOTTOMMARGIN, 200
  246.     END
  247. END
  248. #endif    // APSTUDIO_INVOKED
  249. /////////////////////////////////////////////////////////////////////////////
  250. //
  251. // String Table
  252. //
  253. STRINGTABLE DISCARDABLE 
  254. BEGIN
  255.     IDS_APP_TITLE           "PeerCast"
  256. END
  257. #endif    // English (U.S.) resources
  258. /////////////////////////////////////////////////////////////////////////////
  259. #ifndef APSTUDIO_INVOKED
  260. /////////////////////////////////////////////////////////////////////////////
  261. //
  262. // Generated from the TEXTINCLUDE 3 resource.
  263. //
  264. /////////////////////////////////////////////////////////////////////////////
  265. #endif    // not APSTUDIO_INVOKED