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

对话框与窗口

开发平台:

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 MOVEABLE PURE 
  25. BEGIN
  26.     "resource.h"
  27. END
  28. 2 TEXTINCLUDE MOVEABLE PURE 
  29. BEGIN
  30.     "#include ""afxres.h""rn"
  31.     ""
  32. END
  33. 3 TEXTINCLUDE MOVEABLE PURE 
  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\VistaTaskDialog.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. // HTML
  61. //
  62. IDR_DIALOGS             HTML    MOVEABLE PURE   "res\Dialogs.xml"
  63. #ifndef _MAC
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // Version
  67. //
  68. VS_VERSION_INFO VERSIONINFO
  69.  FILEVERSION 12,0,0,4
  70.  PRODUCTVERSION 12,0,0,4
  71.  FILEFLAGSMASK 0x3fL
  72. #ifdef _DEBUG
  73.  FILEFLAGS 0x1L
  74. #else
  75.  FILEFLAGS 0x0L
  76. #endif
  77.  FILEOS 0x4L
  78.  FILETYPE 0x1L
  79.  FILESUBTYPE 0x0L
  80. BEGIN
  81.     BLOCK "StringFileInfo"
  82.     BEGIN
  83.         BLOCK "040904B0"
  84.         BEGIN
  85.             VALUE "CompanyName", "Codejock Software"
  86.             VALUE "FileDescription", "VistaTaskDialog MFC Application"
  87.             VALUE "FileVersion", "12, 0, 0, 4"
  88.             VALUE "InternalName", "VistaTaskDialog"
  89.             VALUE "LegalCopyright", "(c)1998-2008 Codejock Software, All Rights Reserved."
  90.             VALUE "OriginalFilename", "VistaTaskDialog.EXE"
  91.             VALUE "ProductName", "VistaTaskDialog Application"
  92.             VALUE "ProductVersion", "12, 0, 0, 4"
  93.         END
  94.     END
  95.     BLOCK "VarFileInfo"
  96.     BEGIN
  97.         VALUE "Translation", 0x409, 1200
  98.     END
  99. END
  100. #endif    // !_MAC
  101. /////////////////////////////////////////////////////////////////////////////
  102. //
  103. // DESIGNINFO
  104. //
  105. #ifdef APSTUDIO_INVOKED
  106. GUIDELINES DESIGNINFO MOVEABLE PURE 
  107. BEGIN
  108.     IDD_TASKDIALOG_BUTTONS, DIALOG
  109.     BEGIN
  110.         LEFTMARGIN, 7
  111.         RIGHTMARGIN, 243
  112.         VERTGUIDE, 118
  113.         TOPMARGIN, 7
  114.         BOTTOMMARGIN, 193
  115.     END
  116.     IDD_TASKDIALOG_EXPANDED, DIALOG
  117.     BEGIN
  118.         LEFTMARGIN, 7
  119.         RIGHTMARGIN, 243
  120.         VERTGUIDE, 118
  121.         TOPMARGIN, 7
  122.         BOTTOMMARGIN, 193
  123.     END
  124.     IDD_TASKDIALOG_GENERAL, DIALOG
  125.     BEGIN
  126.         LEFTMARGIN, 7
  127.         RIGHTMARGIN, 243
  128.         VERTGUIDE, 118
  129.         TOPMARGIN, 7
  130.         BOTTOMMARGIN, 193
  131.     END
  132.     IDD_TASKDIALOG_ICONS, DIALOG
  133.     BEGIN
  134.         LEFTMARGIN, 7
  135.         RIGHTMARGIN, 243
  136.         VERTGUIDE, 118
  137.         TOPMARGIN, 7
  138.         BOTTOMMARGIN, 193
  139.     END
  140.     IDD_TASKDIALOG_RADIOBUTTONS, DIALOG
  141.     BEGIN
  142.         LEFTMARGIN, 7
  143.         RIGHTMARGIN, 243
  144.         VERTGUIDE, 118
  145.         TOPMARGIN, 7
  146.         BOTTOMMARGIN, 193
  147.     END
  148.     IDD_TASKDIALOG_BUTTONEDIT, DIALOG
  149.     BEGIN
  150.         LEFTMARGIN, 7
  151.         RIGHTMARGIN, 179
  152.         TOPMARGIN, 7
  153.         BOTTOMMARGIN, 72
  154.     END
  155. END
  156. #endif    // APSTUDIO_INVOKED
  157. /////////////////////////////////////////////////////////////////////////////
  158. //
  159. // Dialog
  160. //
  161. IDD_TASKDIALOG_BUTTONS DIALOGEX 0, 0, 250, 200
  162. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  163. CAPTION "Buttons"
  164. FONT 8, "MS Sans Serif", 0, 0, 0x1
  165. BEGIN
  166.     CONTROL         "OK",IDC_CHK_OK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,
  167.                     22,26,10
  168.     CONTROL         "Yes",IDC_CHK_YES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,
  169.                     18,33,28,10
  170.     GROUPBOX        "Standard Buttons",IDC_STATIC,7,7,236,45
  171.     CONTROL         "Cancel",IDC_CHK_CANCEL,"Button",BS_AUTOCHECKBOX | 
  172.                     WS_TABSTOP,57,22,38,10
  173.     CONTROL         "No",IDC_CHK_NO,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,57,
  174.                     33,25,10
  175.     CONTROL         "Retry",IDC_CHK_RETRY,"Button",BS_AUTOCHECKBOX | 
  176.                     WS_TABSTOP,103,22,33,10
  177.     CONTROL         "Close",IDC_CHK_CLOSE,"Button",BS_AUTOCHECKBOX | 
  178.                     WS_TABSTOP,103,33,33,10
  179.     GROUPBOX        "Custom Buttons",IDC_STATIC,7,58,236,115
  180.     CONTROL         "List1",IDC_LIST_CUSTOM,"SysListView32",LVS_REPORT | 
  181.                     WS_BORDER | WS_TABSTOP,18,72,163,76
  182.     PUSHBUTTON      "Add",IDC_BTN_ADD,187,72,50,14
  183.     PUSHBUTTON      "Edit",IDC_BTN_EDIT,187,89,50,14
  184.     PUSHBUTTON      "Remove",IDC_BTN_REMOVE,187,106,50,14
  185.     CONTROL         "Use command links",IDC_CHK_USELINKS,"Button",
  186.                     BS_AUTOCHECKBOX | WS_TABSTOP,18,155,77,10
  187.     CONTROL         "Show command link icons",IDC_CHK_SHOWICONS,"Button",
  188.                     BS_AUTOCHECKBOX | WS_TABSTOP,103,155,98,10
  189.     LTEXT           "Default button:",IDC_STATIC,7,183,48,8
  190.     COMBOBOX        IDC_COMBO_DEFAULT,61,181,182,87,CBS_DROPDOWNLIST | 
  191.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
  192. END
  193. IDD_TASKDIALOG_EXPANDED DIALOG DISCARDABLE  0, 0, 250, 200
  194. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  195. CAPTION "Expanded"
  196. FONT 8, "MS Sans Serif"
  197. BEGIN
  198.     LTEXT           "Expanded information:",IDC_STATIC,9,10,80,8
  199.     EDITTEXT        IDC_EDIT_EXPANDEDINFO,98,7,145,14,ES_AUTOHSCROLL
  200.     LTEXT           "Expanded control text:",IDC_STATIC,9,26,80,8
  201.     EDITTEXT        IDC_EDIT_EXPANDEDCONT,98,23,145,14,ES_AUTOHSCROLL
  202.     LTEXT           "Collapsed control text:",IDC_STATIC,9,42,80,8
  203.     EDITTEXT        IDC_EDIT_COLLAPSEDCONT,98,39,145,14,ES_AUTOHSCROLL
  204.     CONTROL         "Expanded by default",IDC_CHK_BYDEFAULT,"Button",
  205.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,66,81,10
  206.     CONTROL         "Expanded footer area",IDC_CHK_FOOTERAREA,"Button",
  207.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,78,84,10
  208. END
  209. IDD_TASKDIALOG_GENERAL DIALOG DISCARDABLE  0, 0, 250, 200
  210. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  211. CAPTION "General"
  212. FONT 8, "MS Sans Serif"
  213. BEGIN
  214.     LTEXT           "Title:",IDC_STATIC,9,10,80,8
  215.     EDITTEXT        IDC_EDIT_TITLE,98,7,145,14,ES_AUTOHSCROLL
  216.     LTEXT           "Main instruction:",IDC_STATIC,9,26,80,8
  217.     EDITTEXT        IDC_EDIT_MAIN,98,23,145,14,ES_AUTOHSCROLL
  218.     LTEXT           "Content:",IDC_STATIC,9,42,80,8
  219.     EDITTEXT        IDC_EDIT_CONTENT,98,39,145,14,ES_AUTOHSCROLL
  220.     LTEXT           "Footer:",IDC_STATIC,9,58,80,8
  221.     EDITTEXT        IDC_EDIT_FOOTER,98,55,145,14,ES_AUTOHSCROLL
  222.     LTEXT           "Verification text:",IDC_STATIC,9,86,80,8
  223.     EDITTEXT        IDC_EDIT_VERIFY,98,83,145,14,ES_AUTOHSCROLL
  224.     CONTROL         "Verification checked",IDC_CHK_VERIFY,"Button",
  225.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,100,81,10
  226.     CONTROL         "Use preferred width:",IDC_CHK_WIDTH,"Button",
  227.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,126,79,10
  228.     EDITTEXT        IDC_EDIT_WIDTH,98,124,40,14,ES_AUTOHSCROLL
  229.     CONTROL         "Enable hyperlinks",IDC_CHK_HYPERLINKS,"Button",
  230.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,153,71,10
  231.     CONTROL         "Allow dialog cancellation",IDC_CHK_ALLOWCANCEL,"Button",
  232.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,165,93,10
  233.     CONTROL         "Position relative to window",IDC_CHK_POSITION,"Button",
  234.                     BS_AUTOCHECKBOX | WS_TABSTOP,7,177,99,10
  235.     CONTROL         "Show progress bar",IDC_CHK_PROGRESS,"Button",
  236.                     BS_AUTOCHECKBOX | WS_TABSTOP,117,153,75,10
  237.     CONTROL         "Use marquee style",IDC_CHK_MARQUEE,"Button",
  238.                     BS_AUTOCHECKBOX | WS_TABSTOP,117,165,74,10
  239.     CONTROL         "Right to left layout",IDC_CHK_RTL,"Button",
  240.                     BS_AUTOCHECKBOX | WS_TABSTOP,117,177,73,10
  241.     PUSHBUTTON      "Add (+5)",IDC_BTN_ADDFIVE,98,102,50,14
  242.     PUSHBUTTON      "Sub (-5)",IDC_BTN_SUBFIVE,151,102,50,14
  243.     LTEXT           "Static",IDC_TXT_COUNTBYFIVE,204,102,39,14,
  244.                     SS_CENTERIMAGE
  245. END
  246. IDD_TASKDIALOG_ICONS DIALOG DISCARDABLE  0, 0, 250, 200
  247. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  248. CAPTION "Icons"
  249. FONT 8, "MS Sans Serif"
  250. BEGIN
  251.     GROUPBOX        "Main Icon",IDC_STATIC,7,7,236,75
  252.     PUSHBUTTON      "Browse...",IDC_BTN_MAINPATH,184,54,50,14
  253.     COMBOBOX        IDC_COMBO_MAINICON,17,24,125,80,CBS_DROPDOWNLIST | 
  254.                     WS_VSCROLL | WS_TABSTOP
  255.     EDITTEXT        IDC_EDIT_MAINPATH,18,54,162,14,ES_AUTOHSCROLL
  256.     LTEXT           "Custom icon path:",IDC_STATIC,18,43,58,8
  257.     GROUPBOX        "Footer Icon",IDC_STATIC,7,90,236,75
  258.     PUSHBUTTON      "Browse...",IDC_BTN_FOOTPATH,184,137,50,14
  259.     COMBOBOX        IDC_COMBO_FOOTICON,17,107,125,80,CBS_DROPDOWNLIST | 
  260.                     WS_VSCROLL | WS_TABSTOP
  261.     EDITTEXT        IDC_EDIT_FOOTPATH,18,137,162,14,ES_AUTOHSCROLL
  262.     LTEXT           "Custom icon path:",IDC_STATIC,18,126,58,8
  263.     CONTROL         "Use System Icons ( when available )",IDC_CHK_SYSICON,
  264.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,18,173,130,10
  265. END
  266. IDD_TASKDIALOG_RADIOBUTTONS DIALOG DISCARDABLE  0, 0, 250, 200
  267. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  268. CAPTION "Radio Buttons"
  269. FONT 8, "MS Sans Serif"
  270. BEGIN
  271.     GROUPBOX        "Custom Radio Buttons",IDC_STATIC,7,7,236,115
  272.     CONTROL         "List1",IDC_LIST_CUSTOM,"SysListView32",LVS_REPORT | 
  273.                     WS_BORDER | WS_TABSTOP,18,21,163,76
  274.     PUSHBUTTON      "Add",IDC_BTN_ADD,187,21,50,14
  275.     PUSHBUTTON      "Edit",IDC_BTN_EDIT,187,38,50,14
  276.     PUSHBUTTON      "Remove",IDC_BTN_REMOVE,187,55,50,14
  277.     CONTROL         "No default radio button",IDC_CHK_NODEFAULT,"Button",
  278.                     BS_AUTOCHECKBOX | WS_TABSTOP,18,106,88,10
  279.     LTEXT           "Default button:",IDC_TXT_DEFAULT,7,132,48,8
  280.     COMBOBOX        IDC_COMBO_DEFAULT,61,130,182,30,CBS_DROPDOWNLIST | 
  281.                     WS_VSCROLL | WS_TABSTOP
  282. END
  283. IDD_TASKDIALOG_BUTTONEDIT DIALOGEX 0, 0, 186, 79
  284. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  285. CAPTION "Edit Button"
  286. FONT 8, "MS Sans Serif", 0, 0, 0x1
  287. BEGIN
  288.     DEFPUSHBUTTON   "OK",IDOK,73,58,50,14
  289.     PUSHBUTTON      "Cancel",IDCANCEL,129,58,50,14
  290.     LTEXT           "Text:",IDC_STATIC,7,13,17,8
  291.     LTEXT           "Id:",IDC_STATIC,7,32,9,8
  292.     EDITTEXT        IDC_EDIT_TEXT,44,10,135,14,ES_AUTOHSCROLL
  293.     EDITTEXT        IDC_EDIT_ID,44,29,40,14,ES_AUTOHSCROLL
  294.     CONTROL         "Spin1",IDC_SPIN_ID,"msctls_updown32",UDS_SETBUDDYINT | 
  295.                     UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,87,29,10,
  296.                     14
  297. END
  298. IDD_TASKDIALOG_SAMPLES DIALOG DISCARDABLE  0, 0, 250, 200
  299. STYLE DS_FIXEDSYS | WS_CHILD | WS_CAPTION | WS_SYSMENU
  300. CAPTION "Samples"
  301. FONT 8, "MS Shell Dlg"
  302. BEGIN
  303.     LTEXT           "Show progressbar functionality sample",IDC_STATIC,9,10,
  304.                     135,9
  305.     PUSHBUTTON      "Show Sample",IDC_BUTTON_PROGRESSDIALOG,9,20,60,14
  306.     LTEXT           "Show timer usage",IDC_STATIC,146,10,64,9
  307.     PUSHBUTTON      "Show Sample",IDC_BUTTON_TIMERDIALOG,146,20,60,14
  308.     LTEXT           "Show how to assign text dynamically",IDC_STATIC,9,40,
  309.                     135,9
  310.     PUSHBUTTON      "Show Sample",IDC_BUTTON_DYNAMICDIALOG,9,50,60,14
  311.     LTEXT           "Show wizard sample",IDC_STATIC,146,40,94,9
  312.     PUSHBUTTON      "Show Sample",IDC_BUTTON_SHEET,146,50,60,14
  313.     LTEXT           "Show xml usage. Use <a href=""http://shellrevealed.com/files/folders/code/tags/TDPad/default.aspx"">TDPad</a> to edit XML Dialogs",
  314.                     IDC_STATIC_TDPAD,9,70,230,9,WS_TABSTOP
  315.     PUSHBUTTON      "Dialog1",IDC_BUTTON_XMLDIALOG1,9,80,60,14
  316.     PUSHBUTTON      "Dialog2",IDC_BUTTON_XMLDIALOG2,77,80,60,14
  317.     PUSHBUTTON      "Dialog3",IDC_BUTTON_XMLDIALOG3,146,80,60,14
  318.     PUSHBUTTON      "Dialog4",IDC_BUTTON_XMLDIALOG4,9,98,60,14
  319.     PUSHBUTTON      "Dialog5",IDC_BUTTON_XMLDIALOG5,77,98,60,14
  320.     PUSHBUTTON      "Dialog6",IDC_BUTTON_XMLDIALOG6,146,98,60,14
  321.     PUSHBUTTON      "Dialog7",IDC_BUTTON_XMLDIALOG7,9,116,60,14
  322.     CONTROL         "Enable SkinFramework",IDC_CHECK_SKINFRAMEWORK,"Button",
  323.                     BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,9,151,94,11
  324.     LTEXT           "You can use <a href=""See SymbolReference.chm"">CXTPTaskDialogLinkCtrl</a> control in your dialogs to enable hyperlinks",
  325.                     IDC_STATIC_LINK,9,167,231,26,WS_TABSTOP
  326. END
  327. /////////////////////////////////////////////////////////////////////////////
  328. //
  329. // String Table
  330. //
  331. STRINGTABLE DISCARDABLE 
  332. BEGIN
  333.     IDS_ABOUTBOX            "&About VistaTaskDialog..."
  334.     IDS_ERROR_RESERVED      "The button ID ""%d"" is reserved for the common dialog button ""%s"", please choose another ID."
  335.     IDS_PROPSHT_CAPTION     "Vista Task Dialog Sample"
  336. END
  337. STRINGTABLE DISCARDABLE 
  338. BEGIN
  339.     IDS_WINDOWTITLE         "Internet Explorer - Security Warning"
  340.     IDS_CONTENT             "Name:        <A HREF=""executablestring 1"">Xtreme ToolkitPro</A>nPublisher:   <A HREF=""executablestring 1"">Codejock Software</A>"
  341.     IDS_MAININSTRUCTION     "Do you want to run this software?"
  342.     IDS_EXPANDEDINFORMATION "Expanded Text"
  343.     IDS_FOOTER              "While files from the Internet can be useful, this file type can ponentially harm your computer.  Only run software from publishers you trust.  <A HREF=""executablestring 2"">What's the risk?</A>"
  344. END
  345. STRINGTABLE DISCARDABLE 
  346. BEGIN
  347.     IDS_RB_GOOD             "L&ots"
  348.     IDS_RB_OK               "A &little"
  349.     IDS_RB_BAD              "No&t at all"
  350.     IDS_CB_SAVE             "&Save my responsenThis will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. This will save your response. "
  351. END
  352. STRINGTABLE DISCARDABLE 
  353. BEGIN
  354.     IDS_EDIT_VERIFY         "Do not show me the warning for this program again."
  355. END
  356. #endif    // English (U.S.) resources
  357. /////////////////////////////////////////////////////////////////////////////
  358. #ifndef APSTUDIO_INVOKED
  359. /////////////////////////////////////////////////////////////////////////////
  360. //
  361. // Generated from the TEXTINCLUDE 3 resource.
  362. //
  363. #define _AFX_NO_SPLITTER_RESOURCES
  364. #define _AFX_NO_OLE_RESOURCES
  365. #define _AFX_NO_TRACKER_RESOURCES
  366. #define _AFX_NO_PROPERTY_RESOURCES
  367. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  368. #ifdef _WIN32
  369. LANGUAGE 9, 1
  370. #pragma code_page(1252)
  371. #endif //_WIN32
  372. #include "resVistaTaskDialog.rc2"  // non-Microsoft Visual C++ edited resources
  373. #include "afxres.rc"         // Standard components
  374. #endif
  375. /////////////////////////////////////////////////////////////////////////////
  376. #endif    // not APSTUDIO_INVOKED