Button.rc
上传用户:szled88
上传日期:2015-04-09
资源大小:43957k
文件大小:14k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE 
  25. BEGIN
  26.     "resource.h"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE 
  29. BEGIN
  30.     "#include ""afxres.h""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE 
  34. BEGIN
  35.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36.     "#define _AFX_NO_OLE_RESOURCESrn"
  37.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  38.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  39.     "rn"
  40.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  41.     "#ifdef _WIN32rn"
  42.     "LANGUAGE 9, 1rn"
  43.     "#pragma code_page(1252)rn"
  44.     "#endif //_WIN32rn"
  45.     "#include ""res\Button.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46.     "#include ""afxres.rc""         // Standard componentsrn"
  47.     "#endifrn"
  48.     ""
  49. END
  50. #endif    // APSTUDIO_INVOKED
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Icon
  54. //
  55. // Icon with lowest ID value placed first to ensure application icon
  56. // remains consistent on all systems.
  57. IDR_MAINFRAME           ICON    DISCARDABLE     "res\CjSample.ico"
  58. /////////////////////////////////////////////////////////////////////////////
  59. //
  60. // PNG
  61. //
  62. LOVE.PNG                PNG     DISCARDABLE     "res\Love.png"
  63. /////////////////////////////////////////////////////////////////////////////
  64. //
  65. // Bitmap
  66. //
  67. GLYPH.BMP               BITMAP  DISCARDABLE     "res\glyph.bmp"
  68. IDB_IMAGELIST           BITMAP  DISCARDABLE     "res\imagelist.bmp"
  69. IDB_OK                  BITMAP  DISCARDABLE     "res\ok.bmp"
  70. IDB_ALPHA_SETTINGS      BITMAP  DISCARDABLE     "res\AlphaSettings.bmp"
  71. IDB_ALPHA_FIND          BITMAP  DISCARDABLE     "res\AlphaFind.bmp"
  72. IDB_ALPHA_HELP          BITMAP  DISCARDABLE     "res\AlphaHelp.bmp"
  73. IDB_ALPHA_RUN           BITMAP  DISCARDABLE     "res\AlphaRun.bmp"
  74. /////////////////////////////////////////////////////////////////////////////
  75. //
  76. // Dialog
  77. //
  78. IDD_PAGE_SIMPLEBUTTONS DIALOGEX 0, 0, 326, 197
  79. STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
  80. EXSTYLE WS_EX_APPWINDOW
  81. CAPTION "Simple Buttons"
  82. FONT 8, "MS Sans Serif"
  83. BEGIN
  84.     GROUPBOX        "Regular Buttons",IDC_GBOX_REGULAR,7,7,99,67
  85.     PUSHBUTTON      "&Settings",IDC_BUTTON_SETTINGS,16,19,76,20,BS_MULTILINE
  86.     PUSHBUTTON      "Fin&d",IDC_BUTTON_FIND,16,43,76,20,BS_MULTILINE
  87.     GROUPBOX        "Two Rows Buttons",IDC_GBOX_TWOROWS,7,79,99,94
  88.     PUSHBUTTON      "Help",IDC_BUTTON_HELP,16,92,76,35
  89.     PUSHBUTTON      "R&un...",IDC_BUTTON_RUN,16,132,76,35
  90.     COMBOBOX        IDC_COMBO_STYLE,7,178,99,77,CBS_DROPDOWNLIST | 
  91.                     WS_VSCROLL | WS_TABSTOP
  92.     GROUPBOX        "CheckBoxes",IDC_GBOX_CHECKBOXES,116,7,93,40
  93.     CONTROL         "State 1",IDC_CHECK_STATE1,"Button",BS_AUTOCHECKBOX | 
  94.                     WS_TABSTOP,116,18,63,10
  95.     CONTROL         "State 2",IDC_CHECK_STATE2,"Button",BS_AUTO3STATE | 
  96.                     WS_TABSTOP,116,30,55,10
  97.     GROUPBOX        "Radio Buttons",IDC_GBOX_RADIO,116,52,93,37
  98.     CONTROL         "Option 1",IDC_RADIO_OPTION1,"Button",BS_AUTORADIOBUTTON | 
  99.                     WS_GROUP | WS_TABSTOP,116,62,55,12
  100.     CONTROL         "Option 2",IDC_RADIO_OPTION2,"Button",BS_AUTORADIOBUTTON,
  101.                     116,73,55,12
  102.     GROUPBOX        "Justifications",IDC_GBOX_JUSTIFICATION,116,101,93,89
  103.     LTEXT           "Text Alignment",IDC_STATIC_TEXTALIGNEMNT,116,112,86,8
  104.     COMBOBOX        IDC_COMBO_TEXTALIGNMENT,116,122,93,58,CBS_DROPDOWNLIST | 
  105.                     WS_VSCROLL | WS_TABSTOP
  106.     LTEXT           "Image Alignment",IDC_STATIC_IMAGEALIGNMENT,116,138,86,8
  107.     COMBOBOX        IDC_COMBO_IMAGEALIGNMENT,116,149,93,99,CBS_DROPDOWNLIST | 
  108.                     WS_VSCROLL | WS_TABSTOP
  109.     LTEXT           "Text Image Relation",IDC_STATIC_RELATION,116,167,86,8
  110.     COMBOBOX        IDC_COMBO_RELATION,116,178,93,88,CBS_DROPDOWNLIST | 
  111.                     WS_VSCROLL | WS_TABSTOP
  112.     GROUPBOX        "Button Theme",IDC_GBOX_THEME,218,7,101,111
  113.     CONTROL         "Standar&d",IDC_RADIO_CLASSIC,"Button",
  114.                     BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,224,17,45,10
  115.     CONTROL         "&Flat",IDC_RADIO_FLAT,"Button",BS_AUTORADIOBUTTON,224,
  116.                     27,27,10
  117.     CONTROL         "&Ultra Flat",IDC_RADIO_ULTRAFLAT,"Button",
  118.                     BS_AUTORADIOBUTTON,224,38,44,10
  119.     CONTROL         "Office 200&0",IDC_RADIO_OFFICE2000,"Button",
  120.                     BS_AUTORADIOBUTTON,224,49,53,10
  121.     CONTROL         "Office &XP",IDC_RADIO_OFFICEXP,"Button",
  122.                     BS_AUTORADIOBUTTON,224,59,46,10
  123.     CONTROL         "Office 200&3",IDC_RADIO_OFFICE2003,"Button",
  124.                     BS_AUTORADIOBUTTON,224,68,53,10
  125.     CONTROL         "Office 200&7",IDC_RADIO_OFFICE2007,"Button",
  126.                     BS_AUTORADIOBUTTON,224,79,53,8
  127.     CONTROL         "&Flat Style",IDC_CHECK_FLATSTYLE,"Button",
  128.                     BS_AUTOCHECKBOX | WS_TABSTOP,224,94,45,10
  129.     CONTROL         "Use &Visual Style",IDC_CHECK_WINXP_THEMES,"Button",
  130.                     BS_AUTOCHECKBOX | WS_TABSTOP,224,104,67,10
  131.     GROUPBOX        "Option&s",IDC_GBOX_OPTIONS,218,122,101,68
  132.     CONTROL         "&Toggle Buttons",IDC_CHECK_TOGGLE,"Button",
  133.                     BS_AUTOCHECKBOX | WS_TABSTOP,224,132,64,10
  134.     CONTROL         "&Enabled",IDC_CHECK_ENABLED,"Button",BS_AUTOCHECKBOX | 
  135.                     WS_TABSTOP,224,143,42,10
  136.     CONTROL         "Alpha Icons",IDC_CHECK_ALPHA,"Button",BS_AUTOCHECKBOX | 
  137.                     WS_TABSTOP,224,154,53,10
  138.     CONTROL         "Show Focus",IDC_CHECK_FOCUS,"Button",BS_AUTOCHECKBOX | 
  139.                     WS_TABSTOP,224,165,55,10
  140. END
  141. IDD_PAGE_MARKUPBUTTONS DIALOGEX 0, 0, 326, 197
  142. STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
  143. EXSTYLE WS_EX_APPWINDOW
  144. CAPTION "Markup Buttons"
  145. FONT 8, "MS Sans Serif"
  146. BEGIN
  147.     CONTROL         "<TextBlock>RadioButton with <Run Foreground=""Red"" FontWeight=""Bold"" TextDecorations=""Underline"">Markup</Run></TextBlock>",
  148.                     IDC_RADIO_MARKUP,"Button",BS_AUTORADIOBUTTON | WS_GROUP | 
  149.                     WS_TABSTOP,7,7,125,9
  150.     CONTROL         "<TextBlock>Markup <Run Background=""Gold"" Text=""is""/> Cool<Run FontSize='7' BaselineAlignment='Top'>2</Run></TextBlock>",
  151.                     IDC_CHECK_MARKUP,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,
  152.                     17,99,12
  153.     CONTROL         "Delete Inbox",IDC_CHECK_DELETEINBOX,"Button",
  154.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,39,99,11
  155.     CONTROL         "Delete Outbox",IDC_CHECK_DELETEOUTBOX,"Button",
  156.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,51,99,11
  157.     CONTROL         "Radio Button with link",IDC_RADIO_WITHLINK,"Button",
  158.                     BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,7,70,99,12
  159.     PUSHBUTTON      "Turn on Firewall now",IDC_BUTTON_FIREWALL,170,7,149,30
  160.     PUSHBUTTON      "<TextBlock>I <InlineUIContainer BaselineAlignment='Bottom'><Image Source=""res://love.png""/></InlineUIContainer> Markup</TextBlock>",
  161.                     IDC_BUTTON_MARKUP,170,43,78,17
  162. END
  163. #ifndef _MAC
  164. /////////////////////////////////////////////////////////////////////////////
  165. //
  166. // Version
  167. //
  168. VS_VERSION_INFO VERSIONINFO
  169.  FILEVERSION 12,0,0,4
  170.  PRODUCTVERSION 12,0,0,4
  171.  FILEFLAGSMASK 0x3fL
  172. #ifdef _DEBUG
  173.  FILEFLAGS 0x1L
  174. #else
  175.  FILEFLAGS 0x0L
  176. #endif
  177.  FILEOS 0x4L
  178.  FILETYPE 0x1L
  179.  FILESUBTYPE 0x0L
  180. BEGIN
  181.     BLOCK "StringFileInfo"
  182.     BEGIN
  183.         BLOCK "040904B0"
  184.         BEGIN
  185.             VALUE "CompanyName", "Codejock Software"
  186.             VALUE "FileDescription", "Button MFC Application"
  187.             VALUE "FileVersion", "12, 0, 0, 4"
  188.             VALUE "InternalName", "Button"
  189.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  190.             VALUE "LegalTrademarks", ""
  191.             VALUE "OriginalFilename", "Button.EXE"
  192.             VALUE "ProductName", "Button Application"
  193.             VALUE "ProductVersion", "12, 0, 0, 4"
  194.         END
  195.     END
  196.     BLOCK "VarFileInfo"
  197.     BEGIN
  198.         VALUE "Translation", 0x409, 1200
  199.     END
  200. END
  201. #endif    // !_MAC
  202. /////////////////////////////////////////////////////////////////////////////
  203. //
  204. // DESIGNINFO
  205. //
  206. #ifdef APSTUDIO_INVOKED
  207. GUIDELINES DESIGNINFO DISCARDABLE 
  208. BEGIN
  209.     IDD_PAGE_SIMPLEBUTTONS, DIALOG
  210.     BEGIN
  211.         LEFTMARGIN, 7
  212.         RIGHTMARGIN, 319
  213.         VERTGUIDE, 106
  214.         VERTGUIDE, 116
  215.         VERTGUIDE, 209
  216.         VERTGUIDE, 218
  217.         VERTGUIDE, 224
  218.         TOPMARGIN, 7
  219.         BOTTOMMARGIN, 190
  220.     END
  221.     IDD_PAGE_MARKUPBUTTONS, DIALOG
  222.     BEGIN
  223.         LEFTMARGIN, 7
  224.         RIGHTMARGIN, 319
  225.         VERTGUIDE, 106
  226.         VERTGUIDE, 116
  227.         VERTGUIDE, 209
  228.         VERTGUIDE, 218
  229.         VERTGUIDE, 224
  230.         TOPMARGIN, 7
  231.         BOTTOMMARGIN, 190
  232.     END
  233. END
  234. #endif    // APSTUDIO_INVOKED
  235. /////////////////////////////////////////////////////////////////////////////
  236. //
  237. // Dialog Info
  238. //
  239. IDD_PAGE_SIMPLEBUTTONS DLGINIT
  240. BEGIN
  241.     IDC_COMBO_STYLE, 0x403, 7, 0
  242. 0x6f4e, 0x6d72, 0x6c61, "00" 
  243.     IDC_COMBO_STYLE, 0x403, 10, 0
  244. 0x7244, 0x706f, 0x4420, 0x776f, 0x006e, 
  245.     IDC_COMBO_STYLE, 0x403, 15, 0
  246. 0x7244, 0x706f, 0x4420, 0x776f, 0x5220, 0x6769, 0x7468, "00" 
  247.     IDC_COMBO_STYLE, 0x403, 16, 0
  248. 0x7053, 0x696c, 0x2074, 0x7244, 0x706f, 0x4420, 0x776f, 0x006e, 
  249.     IDC_COMBO_TEXTALIGNMENT, 0x403, 12, 0
  250. 0x694d, 0x6464, 0x656c, 0x4c20, 0x6665, 0x0074, 
  251.     IDC_COMBO_TEXTALIGNMENT, 0x403, 13, 0
  252. 0x694d, 0x6464, 0x656c, 0x5220, 0x6769, 0x7468, "00" 
  253.     IDC_COMBO_TEXTALIGNMENT, 0x403, 14, 0
  254. 0x694d, 0x6464, 0x656c, 0x4320, 0x6e65, 0x6574, 0x0072, 
  255.     IDC_COMBO_TEXTALIGNMENT, 0x403, 9, 0
  256. 0x6f54, 0x2070, 0x654c, 0x7466, "00" 
  257.     IDC_COMBO_TEXTALIGNMENT, 0x403, 10, 0
  258. 0x6f54, 0x2070, 0x6952, 0x6867, 0x0074, 
  259.     IDC_COMBO_TEXTALIGNMENT, 0x403, 11, 0
  260. 0x6f54, 0x2070, 0x6543, 0x746e, 0x7265, "00" 
  261.     IDC_COMBO_TEXTALIGNMENT, 0x403, 12, 0
  262. 0x6f42, 0x7474, 0x6d6f, 0x4c20, 0x6665, 0x0074, 
  263.     IDC_COMBO_TEXTALIGNMENT, 0x403, 13, 0
  264. 0x6f42, 0x7474, 0x6d6f, 0x5220, 0x6769, 0x7468, "00" 
  265.     IDC_COMBO_TEXTALIGNMENT, 0x403, 14, 0
  266. 0x6f42, 0x7474, 0x6d6f, 0x4320, 0x6e65, 0x6574, 0x0072, 
  267.     IDC_COMBO_IMAGEALIGNMENT, 0x403, 12, 0
  268. 0x694d, 0x6464, 0x656c, 0x4c20, 0x6665, 0x0074, 
  269.     IDC_COMBO_IMAGEALIGNMENT, 0x403, 13, 0
  270. 0x694d, 0x6464, 0x656c, 0x5220, 0x6769, 0x7468, "00" 
  271.     IDC_COMBO_IMAGEALIGNMENT, 0x403, 14, 0
  272. 0x694d, 0x6464, 0x656c, 0x4320, 0x6e65, 0x6574, 0x0072, 
  273.     IDC_COMBO_IMAGEALIGNMENT, 0x403, 9, 0
  274. 0x6f54, 0x2070, 0x654c, 0x7466, "00" 
  275.     IDC_COMBO_IMAGEALIGNMENT, 0x403, 10, 0
  276. 0x6f54, 0x2070, 0x6952, 0x6867, 0x0074, 
  277.     IDC_COMBO_IMAGEALIGNMENT, 0x403, 11, 0
  278. 0x6f54, 0x2070, 0x6543, 0x746e, 0x7265, "00" 
  279.     IDC_COMBO_IMAGEALIGNMENT, 0x403, 12, 0
  280. 0x6f42, 0x7474, 0x6d6f, 0x4c20, 0x6665, 0x0074, 
  281.     IDC_COMBO_IMAGEALIGNMENT, 0x403, 13, 0
  282. 0x6f42, 0x7474, 0x6d6f, 0x5220, 0x6769, 0x7468, "00" 
  283.     IDC_COMBO_IMAGEALIGNMENT, 0x403, 14, 0
  284. 0x6f42, 0x7474, 0x6d6f, 0x4320, 0x6e65, 0x6574, 0x0072, 
  285.     IDC_COMBO_RELATION, 0x403, 8, 0
  286. 0x764f, 0x7265, 0x616c, 0x0079, 
  287.     IDC_COMBO_RELATION, 0x403, 17, 0
  288. 0x6d49, 0x6761, 0x2065, 0x6241, 0x766f, 0x2065, 0x6554, 0x7478, "00" 
  289.     IDC_COMBO_RELATION, 0x403, 17, 0
  290. 0x6554, 0x7478, 0x4120, 0x6f62, 0x6576, 0x4920, 0x616d, 0x6567, "00" 
  291.     IDC_COMBO_RELATION, 0x403, 18, 0
  292. 0x6d49, 0x6761, 0x2065, 0x6542, 0x6f66, 0x6572, 0x5420, 0x7865, 0x0074, 
  293.     IDC_COMBO_RELATION, 0x403, 18, 0
  294. 0x6554, 0x7478, 0x4220, 0x6665, 0x726f, 0x2065, 0x6d49, 0x6761, 0x0065, 
  295.     0
  296. END
  297. /////////////////////////////////////////////////////////////////////////////
  298. //
  299. // Menu
  300. //
  301. IDR_MENU_DROPDOWN MENU DISCARDABLE 
  302. BEGIN
  303.     POPUP "Drop Down Menu"
  304.     BEGIN
  305.         MENUITEM "Option Item 1",               ID_DROPDOWNMENU_OPTIONITEM1
  306.         MENUITEM "Option Item 2",               ID_DROPDOWNMENU_OPTIONITEM2
  307.         MENUITEM "Option Item 3",               ID_DROPDOWNMENU_OPTIONITEM3
  308.     END
  309. END
  310. /////////////////////////////////////////////////////////////////////////////
  311. //
  312. // String Table
  313. //
  314. STRINGTABLE DISCARDABLE 
  315. BEGIN
  316.     IDS_ABOUTBOX            "&About Button Style Sample..."
  317. END
  318. STRINGTABLE DISCARDABLE 
  319. BEGIN
  320.     AFX_IDS_APP_TITLE       "Codejock Button Style Sample"
  321. END
  322. #endif    // English (U.S.) resources
  323. /////////////////////////////////////////////////////////////////////////////
  324. #ifndef APSTUDIO_INVOKED
  325. /////////////////////////////////////////////////////////////////////////////
  326. //
  327. // Generated from the TEXTINCLUDE 3 resource.
  328. //
  329. #define _AFX_NO_SPLITTER_RESOURCES
  330. #define _AFX_NO_OLE_RESOURCES
  331. #define _AFX_NO_TRACKER_RESOURCES
  332. #define _AFX_NO_PROPERTY_RESOURCES
  333. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  334. #ifdef _WIN32
  335. LANGUAGE 9, 1
  336. #pragma code_page(1252)
  337. #endif //_WIN32
  338. #include "resButton.rc2"  // non-Microsoft Visual C++ edited resources
  339. #include "afxres.rc"         // Standard components
  340. #endif
  341. /////////////////////////////////////////////////////////////////////////////
  342. #endif    // not APSTUDIO_INVOKED