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

对话框与窗口

开发平台:

Visual C++

  1. // CommandBars resource file
  2. //
  3. // This file is a part of the XTREME TOOLKIT PRO MFC class library.
  4. // (c)1998-2008 Codejock Software, All Rights Reserved.
  5. //
  6. // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
  7. // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER WITHOUT THE EXPRESSED WRITTEN
  8. // CONSENT OF CODEJOCK SOFTWARE.
  9. //
  10. // THIS SOURCE CODE CAN ONLY BE USED UNDER THE TERMS AND CONDITIONS OUTLINED
  11. // IN THE XTREME TOOLKIT PRO LICENSE AGREEMENT. CODEJOCK SOFTWARE GRANTS TO
  12. // YOU (ONE SOFTWARE DEVELOPER) THE LIMITED RIGHT TO USE THIS SOFTWARE ON A
  13. // SINGLE COMPUTER.
  14. //
  15. // CONTACT INFORMATION:
  16. // support@codejock.com
  17. // http://www.codejock.com
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. #include "CommandBars/Resource.h"
  21. #include "CommandBars/res/Resource-Neutral.rc"
  22. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  23. #ifdef _WIN32
  24. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  25. #pragma code_page(1252)
  26. #endif //_WIN32
  27. /////////////////////////////////////////////////////////////////////////////
  28. //
  29. // Dialog
  30. //
  31. XTP_IDD_IMAGEEDITOR_DIALOG DIALOGEX 0, 0, 253, 185
  32. STYLE DS_SETFONT | DS_FIXEDSYS | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  33. CAPTION "Button Editor"
  34. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  35. BEGIN
  36.     LTEXT           "Picture",IDC_STATIC,7,7,86,8
  37.     GROUPBOX        "Colors",IDC_STATIC,102,106,80,71
  38.     GROUPBOX        "Move",IDC_STATIC,101,72,81,31
  39.     GROUPBOX        "Preview",IDC_STATIC,7,106,86,71
  40.     GROUPBOX        "Tools",IDC_STATIC,101,9,81,60
  41.     DEFPUSHBUTTON   "OK",IDOK,193,7,50,14
  42.     PUSHBUTTON      "Cancel",IDCANCEL,193,25,50,14
  43.     CONTROL         "",XTP_IDC_STATIC_PICTURE,"Static",SS_BLACKFRAME | 
  44.                     SS_NOTIFY,7,17,86,80
  45.     CTEXT           "",XTP_IDC_STATIC_PREVIEW,14,117,73,54,SS_CENTERIMAGE,
  46.                     WS_EX_STATICEDGE
  47.     LTEXT           "Transparent",IDC_STATIC,135,156,42,8
  48.     LTEXT           "",XTP_IDC_CLR_ERASE,116,153,15,15,SS_NOTIFY
  49.     CTEXT           "Tools",XTP_IDC_STATIC_TOOLS,112,21,60,43,SS_CENTERIMAGE | 
  50.                     NOT WS_VISIBLE | WS_BORDER
  51.     CTEXT           "Move",XTP_IDC_STATIC_MOVE,111,83,62,12,SS_CENTERIMAGE | 
  52.                     NOT WS_VISIBLE | WS_BORDER
  53.     CONTROL         "",XTP_IDC_CLR_PICKER,"Static",SS_LEFTNOWORDWRAP | 
  54.                     SS_NOTIFY | WS_GROUP,109,144,15,15
  55.     CTEXT           "Colors",XTP_IDC_STATIC_COLORS,107,121,68,12,
  56.                     SS_CENTERIMAGE | NOT WS_VISIBLE | WS_BORDER
  57. END
  58. XTP_IDD_PAGE_KEYBOARD DIALOGEX DISCARDABLE  0, 0, 230, 150
  59. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_CAPTION
  60. CAPTION "&Keyboard"
  61. FONT 8, "MS Shell Dlg"
  62. BEGIN
  63.     LTEXT           "Cate&gory:",IDC_STATIC,4,5,89,8
  64.     COMBOBOX        XTP_IDC_COMBO_CATEGORY,4,15,91,147,CBS_DROPDOWNLIST | 
  65.                     WS_VSCROLL | WS_TABSTOP
  66.     LTEXT           "Co&mmands:",XTP_IDC_TXT_COMMANDS,4,28,89,8
  67.     LISTBOX         XTP_IDC_LBOX_ACCEL_COMMANDS,4,38,91,77,LBS_HASSTRINGS | 
  68.                     LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  69.     LTEXT           "K&ey assignments:",XTP_IDC_TXT_ASSIGNMENTS,100,28,73,8
  70.     LISTBOX         XTP_IDC_LBOX_KEYS,100,38,75,51,LBS_HASSTRINGS | 
  71.                     LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  72.     LTEXT           "Press &new shortcut key:",XTP_IDC_TXT_NEWKEY,100,93,100,8
  73.     EDITTEXT        XTP_IDC_EDIT_SHORTCUTKEY,100,103,75,12,ES_AUTOHSCROLL
  74.     PUSHBUTTON      "&Assign",XTP_IDC_BTN_ASSIGN,179,39,49,14
  75.     PUSHBUTTON      "&Remove",XTP_IDC_BTN_REMOVE,179,56,49,14
  76.     PUSHBUTTON      "Re&set All",XTP_IDC_BTN_ACCEL_RESET,179,73,49,14
  77.     LTEXT           "Description:",XTP_IDC_TXT_DESC_TITLE,4,117,89,8
  78.     LTEXT           "",XTP_IDC_TXT_DESC_OVERVIEW,4,127,171,19,0,
  79.                     WS_EX_STATICEDGE
  80. END
  81. XTP_IDD_PAGE_TOOLBARS DIALOGEX DISCARDABLE  0, 0, 230, 150
  82. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_CAPTION
  83. CAPTION "Tool&bars"
  84. FONT 8, "MS Shell Dlg"
  85. BEGIN
  86.     LTEXT           "Toolb&ars:",IDC_STATIC,4,5,148,8
  87.     LISTBOX         XTP_IDC_LIST_TOOLBARS,4,15,150,131,LBS_OWNERDRAWFIXED | 
  88.                     LBS_HASSTRINGS | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | 
  89.                     WS_TABSTOP
  90.     PUSHBUTTON      "&New...",XTP_IDC_BUTTON_NEW,158,15,70,14
  91.     PUSHBUTTON      "&Rename...",XTP_IDC_BUTTON_RENAME,158,33,70,14
  92.     PUSHBUTTON      "&Delete",XTP_IDC_BUTTON_DELETE,158,51,70,14
  93.     PUSHBUTTON      "R&eset...",XTP_IDC_BUTTON_RESET,158,69,70,14
  94. END
  95. XTP_IDD_PAGE_OPTIONS DIALOGEX DISCARDABLE  0, 0, 230, 150
  96. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_CAPTION
  97. CAPTION "&Options"
  98. FONT 8, "MS Shell Dlg"
  99. BEGIN
  100.     LTEXT           "Personalized Menus and Toolbars",XTP_IDC_GROUP_PERSONALIZED,4,5,222,8
  101.     CONTROL         "Always show full me&nus",XTP_IDC_CHECK_FULL_MENUS,
  102.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,17,216,10
  103.     CONTROL         "Show full menus after a short &delay",
  104.                     XTP_IDC_CHECK_AFTERDELAY,"Button",BS_AUTOCHECKBOX | 
  105.                     WS_TABSTOP,22,29,204,10
  106.     PUSHBUTTON      "&Reset menu and toolbar usage data",
  107.                     XTP_IDC_BUTTON_RESETDATA,10,42,125,14
  108.     LTEXT           "Other", XTP_IDC_GROUP_OTHER,4,70,222,8
  109.     CONTROL         "&Large icons",XTP_IDC_CHECK_LARGEICONS,"Button",
  110.                     BS_AUTOCHECKBOX | WS_TABSTOP,10,82,216,10
  111.     CONTROL         "Show Screen&Tips on toolbars",XTP_IDC_CHECK_SCREENTTIPS,
  112.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,93,216,10
  113.     CONTROL         "Show s&hortcut keys in ScreenTips",
  114.                     XTP_IDC_CHECK_SHORTCUTS,"Button",BS_AUTOCHECKBOX | 
  115.                     WS_TABSTOP,22,104,204,10
  116.     LTEXT           "&Menu animations:",IDC_STATIC,10,117,56,8
  117.     COMBOBOX        XTP_IDC_COMBO_ANIMATION,70,115,79,65,CBS_DROPDOWNLIST | 
  118.                     WS_VSCROLL | WS_TABSTOP
  119. END
  120. XTP_IDD_PAGE_COMMANDS DIALOGEX DISCARDABLE  0, 0, 230, 150
  121. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_CAPTION
  122. CAPTION "&Commands"
  123. FONT 8, "MS Shell Dlg"
  124. BEGIN
  125.     LTEXT           "To add a command to a toolbar: select a category and drag the command out of this dialog box to a toolbar.",
  126.                     IDC_STATIC,4,5,220,19
  127.     LTEXT           "Cate&gories:",IDC_STATIC,4,25,80,8
  128.     LISTBOX         XTP_IDC_LIST_CATEGORIES,4,35,81,111,LBS_NOINTEGRALHEIGHT | 
  129.                     WS_VSCROLL | WS_TABSTOP
  130.     LTEXT           "Comman&ds:",IDC_STATIC,90,25,134,8
  131.     LISTBOX         XTP_IDC_LIST_COMMANDS,90,35,135,111,LBS_OWNERDRAWFIXED | 
  132.                     LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  133. END
  134. XTP_IDD_PAGE_MENUS DIALOGEX DISCARDABLE  0, 0, 230, 150
  135. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_CAPTION
  136. CAPTION "&Menus"
  137. FONT 8, "MS Shell Dlg"
  138. BEGIN
  139.     LTEXT           "Application Menus",XTP_IDC_STATIC_APPLICATIONMENUS,4,5,222,
  140.                     8
  141.     LTEXT           "Context Menus",XTP_IDC_STATIC_CONTEXTMENUS,4,80,222,8
  142.     LTEXT           "&Show Menu:",IDC_STATIC,10,20,44,11
  143.     COMBOBOX        XTP_IDC_COMBO_APPMENUS,54,18,159,79,CBS_DROPDOWNLIST | 
  144.                     WS_VSCROLL | WS_TABSTOP
  145.     PUSHBUTTON      "Reset",XTP_IDC_BUTTON_RESETAPP,10,57,70,14
  146.     LTEXT           "Default menunDefault application menu",XTP_IDC_STATIC_DESCRIPTION,37,34,181,18
  147.     ICON            0,XTP_IDC_STATIC_ICON,10,32,21,20
  148.     LTEXT           "Select &context menu:",IDC_STATIC,10,92,68,10
  149.     COMBOBOX        XTP_IDC_COMBO_CONTEXTMENUS,83,90,130,79,CBS_DROPDOWNLIST | 
  150.                     WS_VSCROLL | WS_TABSTOP
  151.     PUSHBUTTON      "Reset",XTP_IDC_BUTTON_RESETCONTEXT,10,108,70,14
  152. END
  153. XTP_IDD_NEWTOOLBAR DIALOGEX DISCARDABLE  0, 0, 186, 52
  154. STYLE DS_SETFONT | DS_FIXEDSYS | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  155. CAPTION "New Toolbar"
  156. FONT 8, "MS Shell Dlg"
  157. BEGIN
  158.     LTEXT           "&Toolbar name:",IDC_STATIC,4,4,178,8
  159.     EDITTEXT        XTP_IDC_EDIT_TOOLBARNAME,4,15,178,12,ES_AUTOHSCROLL
  160.     DEFPUSHBUTTON   "OK",IDOK,78,34,50,14
  161.     PUSHBUTTON      "Cancel",IDCANCEL,132,34,50,14
  162. END
  163. /////////////////////////////////////////////////////////////////////////////
  164. //
  165. // Menu
  166. //
  167. XTP_IDR_CUSTOMIZEMENU MENU DISCARDABLE 
  168. BEGIN
  169.     POPUP "Customize"
  170.     BEGIN
  171.         MENUITEM "&Reset",                      XTP_ID_CUSTOMIZE_RESET
  172.         MENUITEM "&Delete",                     XTP_ID_CUSTOMIZE_DELETE
  173.         MENUITEM SEPARATOR
  174.         MENUITEM "&Name:",                      XTP_ID_CUSTOMIZE_NAME
  175.         MENUITEM SEPARATOR
  176.         MENUITEM "&Copy Button Image",          XTP_ID_CUSTOMIZE_COPYBUTTONIMAGE
  177.         MENUITEM "&Paste Button Image",         XTP_ID_CUSTOMIZE_PASTEBUTTONIMAGE
  178.         MENUITEM "Re&set Button Image",         XTP_ID_CUSTOMIZE_RESETBUTTONIMAGE
  179.         MENUITEM "&Edit Button Image...",       XTP_ID_CUSTOMIZE_EDITBUTTONIMAGE
  180.         MENUITEM "Change &Button Image",        XTP_ID_CUSTOMIZE_CHANGEBUTTONIMAGE
  181.         MENUITEM SEPARATOR
  182.         MENUITEM "Defa&ult Style",              XTP_ID_CUSTOMIZE_DEFAULTSTYLE
  183.         MENUITEM "&Text Only",                  XTP_ID_CUSTOMIZE_TEXTONLY
  184.         MENUITEM "Image &and Text",             XTP_ID_CUSTOMIZE_IMAGEANDTEXT
  185.         MENUITEM SEPARATOR
  186.         MENUITEM "Begin a &Group",              XTP_ID_CUSTOMIZE_BEGINAGROUP
  187.     END
  188. END
  189. /////////////////////////////////////////////////////////////////////////////
  190. //
  191. // String Table
  192. //
  193. STRINGTABLE DISCARDABLE 
  194. BEGIN
  195.     XTP_IDS_CUSTOMIZE_CLOSE "Close"
  196. END
  197. STRINGTABLE DISCARDABLE 
  198. BEGIN
  199.     XTP_IDS_CUSTOMIZE       "Customize"
  200.     XTP_IDS_NEWMENU         "New Menu"
  201.     XTP_IDS_CUSTOMIZE_STATUSBAR "Customize Status Bar"
  202. END
  203. STRINGTABLE DISCARDABLE 
  204. BEGIN
  205.     XTP_IDS_CONFIRM_RESETDATA 
  206.                             "This will delete the record of the commands you've used in this application and restore the default set of visible commands to the menus and toolbars.  It will not undo any explicit customizations.   Are you sure you want to do this?"
  207.     XTP_IDS_INVALID_NUMBER  "This is not a valid number."
  208.     XTP_IDS_INVALID_FONTSIZE "The number must be between 1 and 1638."
  209.     XTP_IDS_CONFIRM_RESET   "Are you sure you want to reset the changes made to the '%s' toolbar?"
  210.     XTP_IDS_BUILTINMENUS    "Built-in Menus"
  211. END
  212. STRINGTABLE DISCARDABLE 
  213. BEGIN
  214.     XTP_IDS_CUSTOM_BAR      "Custom %d"
  215.     XTP_IDS_ERROR_BLANKNAME "The toolbar name cannot be blank. Type a name."
  216.     XTP_IDS_ERROR_LIMIT     "Sorry you have reached your limit."
  217.     XTP_IDS_ERROR_EXISTS    "A toolbar named '%s' already exists. Type another name."
  218.     XTP_IDS_RENAMETOOLBAR   "Rename Toolbar"
  219.     XTP_IDS_CONFIRM_DELETE  "Are you sure you want to delete the '%s' toolbar?"
  220.     XTP_IDS_ALLCOMMANDS     "All Commands"
  221. END
  222. STRINGTABLE DISCARDABLE 
  223. BEGIN
  224.     XTP_ID_CUSTOMIZE        "Customize application appearance, toolbars, and menusn&Customize..."
  225.     XTP_ID_CUSTOMIZE_RESET  "n&Reset Toolbar"
  226.     XTP_ID_CUSTOMIZE_ADDORREMOVE "n&Add or Remove Buttons"
  227. END
  228. STRINGTABLE DISCARDABLE 
  229. BEGIN
  230.     XTP_IDS_CONFIRM_KEYBOARD 
  231.                             "Are you sure you want to reset the key assignments?  This action will remove all custom key assignments at the text level."
  232.     XTP_IDS_CONFIRM_REASSIGN 
  233.                             "This shortcut is currently assigned.nDo you want to re-assign this shortcut?"
  234.     XTP_IDS_CONFIRM_UPDATE  "Due to a software update the toolbar '%s' has changed. Would you like to reset your customized toolbar and load the new one?"
  235.     XTP_IDS_IMAGEEDITOR_FILTER 
  236.                             "All Picture Files|*.bmp;*.wmf;*.emf;*.ico;*.dib;*.png;*.cur;*.gif;*.jpg|Bitmaps (*.bmp;*.dib;*.png;*.gif;*.jpg)|*.bmp;*.dib;*.png;*.gif;*.jpg|Metafiles (*.wmf;*.emf)|*.wmf;*.emf|Icons (*.ico;*.cur)|*.ico;*.cur|All Files (*.*)|*.*||"
  237.     XTP_ID_TOOLBAR_EXPAND   "nToolbar Options"
  238.     XTP_ID_TOOLBAR_HIDE     "nClose"
  239.     XTP_ID_POPUPBAR_EXPAND  "nExpand"
  240.     XTP_ID_MENUBAR_CLOSE    "nClose Window"
  241.     XTP_ID_MENUBAR_RESTORE  "nRestore Window"
  242.     XTP_ID_MENUBAR_MINIMIZE "nMinimize Window"
  243.     XTP_IDS_SHORTCUT_SECONDKEY "(%s) was pressed. Waiting for second key of chord..."
  244. END
  245. STRINGTABLE DISCARDABLE 
  246. BEGIN
  247.     XTP_ID_BUTTON_PENCIL    "nPencil"
  248.     XTP_ID_BUTTON_FILL      "nFill Color"
  249.     XTP_ID_BUTTON_GETCOLOR  "nPick Color"
  250.     XTP_ID_BUTTON_LINE      "nLine"
  251.     XTP_ID_BUTTON_RECTANGLE "nRectangle"
  252.     XTP_ID_BUTTON_CIRCLE    "nEllipse"
  253.     XTP_ID_BUTTON_COPY      "nCopy"
  254.     XTP_ID_BUTTON_PASTE     "nPaste"
  255.     XTP_ID_BUTTON_CLEAR     "nClear"
  256.     XTP_ID_BUTTON_UNDO      "nUndo"
  257.     XTP_ID_BUTTON_REDO      "nRedo"
  258.     XTP_ID_BUTTON_OPEN      "nImport from File"
  259. END
  260. STRINGTABLE DISCARDABLE 
  261. BEGIN
  262.     XTP_IDS_ANIMATION_SYSDEF "(System default)"
  263.     XTP_IDS_ANIMATION_RANDOM "Random"
  264.     XTP_IDS_ANIMATION_UNFOLD "Unfold"
  265.     XTP_IDS_ANIMATION_SLIDE "Slide"
  266.     XTP_IDS_ANIMATION_FADE  "Fade"
  267.     XTP_IDS_ANIMATION_NONE  "None"
  268. END
  269. STRINGTABLE DISCARDABLE 
  270. BEGIN
  271.     XTP_ID_WORKSPACE_MOVEPREVIOUS "nMove to P&revious Tab Group"
  272.     XTP_ID_WORKSPACE_MOVENEXT "nMove to Ne&xt Tab Group"
  273.     XTP_ID_WORKSPACE_NEWHORIZONTAL "nNew Hori&zontal Tab Group"
  274.     XTP_ID_WORKSPACE_NEWVERTICAL "nNew &Vertical Tab Group"
  275.     XTP_ID_WORKSPACE_CANCEL "nC&ancel"
  276.     XTP_IDS_TABNAVIGATEBUTTON_ACTIVEFILES "Active Files"
  277. END
  278. STRINGTABLE DISCARDABLE 
  279. BEGIN
  280.     XTP_ID_PREVIEW_PRINT    "Print the previewed itemnPrint"
  281.     XTP_ID_PREVIEW_PREV     "Go to the previous pagenPrevious Page"
  282.     XTP_ID_PREVIEW_NEXT     "Go to the next pagenNext Page"
  283.     XTP_ID_PREVIEW_ZOOMIN   "Increase magnification of preview pagenZoom In"
  284.     XTP_ID_PREVIEW_ZOOMOUT  "Decrease magnification of preview pagenZoom Out"
  285.     XTP_ID_PREVIEW_CLOSE    "Close the previewnClose Preview"
  286.     XTP_IDS_PREVIEW_WHOLEPAGE "Whole Page"
  287.     XTP_IDS_PREVIEW_PAGEWIDTH "Page Width"
  288.     XTP_IDS_PREVIEW_PAGEI     "Page %i"
  289.     XTP_IDS_PREVIEW_PAGEIOFI  "Page %i of %i"
  290. END
  291. #endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)