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

对话框与窗口

开发平台:

Visual C++

  1. // SyntaxEdit 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 "SyntaxEdit/Resource.h"
  21. #include "SyntaxEdit/res/Resource-Neutral.rc"
  22. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  23. #ifdef _WIN32
  24. LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT
  25. #pragma code_page(1252)
  26. #endif //_WIN32
  27. /////////////////////////////////////////////////////////////////////////////
  28. //
  29. // Dialog
  30. //
  31. XTP_IDD_EDIT_PAGEEDITOR DIALOGEX DISCARDABLE  0, 0, 260, 180
  32. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
  33. CAPTION "Editor"
  34. FONT 8, "MS Shell Dlg"
  35. BEGIN
  36.     GROUPBOX        "Window Settings ",IDC_STATIC,7,7,246,76
  37.     CONTROL         "&Vertical scrollbar",XTP_IDC_EDIT_CHK_VERT_SCROLLBAR,
  38.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,21,105,10
  39.     CONTROL         "&Horizontal scrollbar",XTP_IDC_EDIT_CHK_HORZ_SCROLLBAR,
  40.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,32,105,10
  41.     CONTROL         "Line &Number",XTP_IDC_EDIT_CHK_LINE_NUMBERS,"Button",
  42.                     BS_AUTOCHECKBOX | WS_TABSTOP,15,43,105,10
  43.     CONTROL         "Selection &margin",XTP_IDC_EDIT_CHK_SELMARGIN,"Button",
  44.                     BS_AUTOCHECKBOX | WS_TABSTOP,15,54,105,10
  45.     CONTROL         "C&ollapsible Nodes",XTP_IDC_EDIT_CHK_COLLAPSIBLE_NODES,"Button",
  46.                     BS_AUTOCHECKBOX | WS_TABSTOP,15,65,105,10
  47.     CONTROL         "&Auto indentation",XTP_IDC_EDIT_CHK_AUTO_INDENT,"Button",
  48.                     BS_AUTOCHECKBOX | WS_TABSTOP,130,20,115,10
  49.     CONTROL         "Virtual &space",XTP_IDC_EDIT_CHK_VIRTUAL_SPACE,"Button",
  50.                     BS_AUTOCHECKBOX | WS_TABSTOP,130,35,115,10
  51.     CONTROL         "Synta&x Colorization",XTP_IDC_EDIT_CHK_SYNTAX_COLOR,
  52.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,130,50,115,10
  53.     GROUPBOX        "Tabs",IDC_STATIC,7,88,162,43
  54.     LTEXT           "&Tab size:",IDC_STATIC,15,103,30,8
  55.     EDITTEXT        XTP_IDC_EDIT_TABS_SIZE,50,100,46,14,ES_AUTOHSCROLL
  56.     CONTROL         "Insert s&paces",XTP_IDC_EDIT_RAD_TABS_SPACES,"Button",
  57.                     BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,102,102,58,10
  58.     CONTROL         "&Keep Tabs",XTP_IDC_EDIT_RAD_TABS_TAB,"Button",
  59.                     BS_AUTORADIOBUTTON,102,113,51,10
  60.     GROUPBOX        "Overwrite Caret",XTP_IDC_EDIT_GBOX_CARET,175,88,78,43,
  61.                     WS_GROUP
  62.     CONTROL         "Th&in",XTP_IDC_EDIT_RAD_CARET_THIN,"Button",
  63.                     BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,181,102,31,10
  64.     CONTROL         "Thi&ck",XTP_IDC_EDIT_RAD_CARET_THICK,"Button",
  65.                     BS_AUTORADIOBUTTON,181,113,36,10
  66.     GROUPBOX        "Save Options ",IDC_STATIC,7,135,246,37
  67.     CONTROL         "Automatic &reload of externally modified files",
  68.                     XTP_IDC_EDIT_CHK_AUTO_RELOAD,"Button",BS_AUTOCHECKBOX | 
  69.                     WS_TABSTOP,15,151,155,10
  70. END
  71. XTP_IDD_EDIT_PAGEFONT DIALOGEX 0, 0, 260, 180
  72. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
  73. CAPTION "Editor Font"
  74. FONT 8, "MS Shell Dlg"
  75. BEGIN
  76.     LTEXT           "&Font:",XTP_IDC_EDIT_TXT_FONTNAMES,7,7,40,9
  77.     COMBOBOX        XTP_IDC_EDIT_COMB_NAMES,7,18,119,55,CBS_SIMPLE | 
  78.                     CBS_AUTOHSCROLL | CBS_SORT | CBS_DISABLENOSCROLL | 
  79.                     WS_VSCROLL | WS_TABSTOP
  80.     LTEXT           "Font St&yle:",XTP_IDC_EDIT_TXT_FONTSTYLES,134,7,45,9
  81.     COMBOBOX        XTP_IDC_EDIT_COMB_STYLES,134,18,75,55,CBS_SIMPLE | 
  82.                     CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
  83.     LTEXT           "Si&ze:",XTP_IDC_EDIT_TXT_FONTSIZES,217,7,30,9
  84.     COMBOBOX        XTP_IDC_EDIT_COMB_SIZES,217,18,36,55,CBS_SIMPLE | 
  85.                     CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
  86.     LTEXT           "Normal &Text:",IDC_STATIC,7,68,100,8
  87.     COMBOBOX        XTP_IDC_EDIT_COMB_TEXT,7,78,103,100,CBS_DROPDOWNLIST | 
  88.                     CBS_OWNERDRAWVARIABLE | CBS_HASSTRINGS | WS_VSCROLL | 
  89.                     WS_TABSTOP
  90.     PUSHBUTTON      "...",XTP_IDC_EDIT_BTN_CUSTOM_TEXT,113,78,13,12
  91.     LTEXT           "&Normal Background:",IDC_STATIC,7,95,100,8
  92.     COMBOBOX        XTP_IDC_EDIT_COMB_BACK,7,105,103,100,CBS_DROPDOWNLIST | 
  93.                     CBS_OWNERDRAWVARIABLE | CBS_HASSTRINGS | WS_VSCROLL | 
  94.                     WS_TABSTOP
  95.     PUSHBUTTON      "...",XTP_IDC_EDIT_BTN_CUSTOM_BACK,113,105,13,12
  96.     LTEXT           "Selected Te&xt:",IDC_STATIC,7,122,100,8
  97.     COMBOBOX        XTP_IDC_EDIT_COMB_TEXTSEL,7,132,103,100,CBS_DROPDOWNLIST | 
  98.                     CBS_OWNERDRAWVARIABLE | CBS_HASSTRINGS | WS_VSCROLL | 
  99.                     WS_TABSTOP
  100.     PUSHBUTTON      "...",XTP_IDC_EDIT_BTN_CUSTOM_TEXTSEL,113,132,13,12
  101.     LTEXT           "&Selected Background:",IDC_STATIC,7,149,100,8
  102.     COMBOBOX        XTP_IDC_EDIT_COMB_BACKSEL,7,159,103,100,CBS_DROPDOWNLIST | 
  103.                     CBS_OWNERDRAWVARIABLE | CBS_HASSTRINGS | WS_VSCROLL | 
  104.                     WS_TABSTOP
  105.     PUSHBUTTON      "...",XTP_IDC_EDIT_BTN_CUSTOM_BACKSEL,113,159,13,12
  106.     LTEXT           "Sc&ript:",XTP_IDC_EDIT_TXT_FONTSCRIPT,135,69,100,9
  107.     COMBOBOX        XTP_IDC_EDIT_COMB_SCRIPT,134,78,119,115,CBS_DROPDOWNLIST | 
  108.                     CBS_AUTOHSCROLL | WS_BORDER | WS_VSCROLL | WS_TABSTOP
  109.     GROUPBOX        "Sample Normal / Selected:",XTP_IDC_EDIT_GRP_SAMPLE,135,128,
  110.                     118,44,WS_GROUP
  111.     CTEXT           "AaBbCc",XTP_IDC_EDIT_TXT_SAMPLE,143,140,49,26,
  112.                     SS_CENTERIMAGE,WS_EX_CLIENTEDGE
  113.     CTEXT           "XxYyZz",XTP_IDC_EDIT_TXT_SAMPLESEL,196,140,49,26,
  114.                     SS_CENTERIMAGE,WS_EX_CLIENTEDGE
  115. END
  116. XTP_IDD_EDIT_PAGECOLOR DIALOGEX 0, 0, 260, 180
  117. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION
  118. CAPTION "Syntax Color"
  119. FONT 8, "MS Shell Dlg"
  120. BEGIN
  121.     LTEXT           "File T&ype:",XTP_IDC_EDIT_TXT_SCHEMANAMES,7,7,123,9
  122.     LISTBOX         XTP_IDC_EDIT_LBOX_SCHEMANAMES,7,17,123,64,LBS_SORT | 
  123.                     LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  124.     LTEXT           "&Attributes:",XTP_IDC_EDIT_TXT_SCHEMAPROP,7,85,123,9
  125.     LISTBOX         XTP_IDC_EDIT_LBOX_SCHEMAPROP,7,95,123,77,LBS_SORT | 
  126.                     LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
  127.     LTEXT           "Normal &Text:",IDC_STATIC,135,7,100,8
  128.     COMBOBOX        XTP_IDC_EDIT_COMB_TEXT,135,17,100,100,CBS_DROPDOWNLIST | 
  129.                     CBS_OWNERDRAWVARIABLE | CBS_HASSTRINGS | WS_VSCROLL | 
  130.                     WS_TABSTOP
  131.     PUSHBUTTON      "...",XTP_IDC_EDIT_BTN_CUSTOM_TEXT,238,17,13,12
  132.     LTEXT           "&Normal Background:",IDC_STATIC,135,33,100,8
  133.     COMBOBOX        XTP_IDC_EDIT_COMB_BACK,135,43,100,100,CBS_DROPDOWNLIST | 
  134.                     CBS_OWNERDRAWVARIABLE | CBS_HASSTRINGS | WS_VSCROLL | 
  135.                     WS_TABSTOP
  136.     PUSHBUTTON      "...",XTP_IDC_EDIT_BTN_CUSTOM_BACK,238,43,13,12
  137.     LTEXT           "Selected Te&xt:",IDC_STATIC,135,59,100,8
  138.     COMBOBOX        XTP_IDC_EDIT_COMB_TEXTSEL,135,69,100,100,CBS_DROPDOWNLIST | 
  139.                     CBS_OWNERDRAWVARIABLE | CBS_HASSTRINGS | WS_VSCROLL | 
  140.                     WS_TABSTOP
  141.     PUSHBUTTON      "...",XTP_IDC_EDIT_BTN_CUSTOM_TEXTSEL,238,69,13,12
  142.     LTEXT           "&Selected Background:",IDC_STATIC,135,85,100,8
  143.     COMBOBOX        XTP_IDC_EDIT_COMB_BACKSEL,135,95,100,100,CBS_DROPDOWNLIST | 
  144.                     CBS_OWNERDRAWVARIABLE | CBS_HASSTRINGS | WS_VSCROLL | 
  145.                     WS_TABSTOP
  146.     PUSHBUTTON      "...",XTP_IDC_EDIT_BTN_CUSTOM_BACKSEL,238,95,13,12
  147.     CONTROL         "&Bold",XTP_IDC_EDIT_CHK_BOLD,"Button",BS_AUTOCHECKBOX | 
  148.                     WS_TABSTOP,135,114,30,10
  149.     CONTROL         "&Italic",XTP_IDC_EDIT_CHK_ITALIC,"Button",BS_AUTOCHECKBOX | 
  150.                     WS_TABSTOP,170,114,31,10
  151.     CONTROL         "&Underline",XTP_IDC_EDIT_CHK_UNDERLINE,"Button",
  152.                     BS_AUTOCHECKBOX | WS_TABSTOP,206,114,46,10
  153.     GROUPBOX        "Sample Normal / Selected:",XTP_IDC_EDIT_GRP_SAMPLE,135,128,
  154.                     118,44,WS_GROUP
  155.     CTEXT           "AaBbCc",XTP_IDC_EDIT_TXT_SAMPLE,143,140,49,26,
  156.                     SS_CENTERIMAGE,WS_EX_CLIENTEDGE
  157.     CTEXT           "XxYyZz",XTP_IDC_EDIT_TXT_SAMPLESEL,196,140,49,26,
  158.                     SS_CENTERIMAGE,WS_EX_CLIENTEDGE
  159. END
  160. XTP_IDD_EDIT_SEARCH_FIND DIALOGEX DISCARDABLE  0, 0, 271, 82
  161. STYLE DS_SETFONT | DS_FIXEDSYS | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  162. CAPTION "Find"
  163. FONT 8, "MS Shell Dlg"
  164. BEGIN
  165.     LTEXT           "Find What",IDC_STATIC,7,9,34,8,NOT WS_GROUP
  166.     COMBOBOX        XTP_IDC_EDIT_COMBO_FIND,47,6,157,153,CBS_DROPDOWN | 
  167.                     CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
  168.     GROUPBOX        "Options",IDC_STATIC,7,30,113,45
  169.     CONTROL         "Match whole word only",XTP_IDC_EDIT_CHK_MATCH_WHOLE_WORD,
  170.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,43,100,10
  171.     CONTROL         "Match case",XTP_IDC_EDIT_CHK_MATCH_CASE,"Button",
  172.                     BS_AUTOCHECKBOX | WS_TABSTOP,13,58,100,10
  173.     GROUPBOX        "Direction",IDC_STATIC,126,30,80,45
  174.     CONTROL         "Search Up",XTP_IDC_EDIT_RADIO_UP,"Button",
  175.                     BS_AUTORADIOBUTTON,134,43,65,10
  176.     CONTROL         "Search Down",XTP_IDC_EDIT_RADIO_DOWN,"Button",
  177.                     BS_AUTORADIOBUTTON,134,58,65,10
  178.     PUSHBUTTON      "&Find Next",XTP_IDC_EDIT_BTN_FIND_NEXT,214,7,50,14,
  179.                     WS_DISABLED | WS_TABSTOP
  180.     PUSHBUTTON      "Close",IDCANCEL,214,26,50,14, WS_TABSTOP
  181. END
  182. XTP_IDD_EDIT_SEARCH_REPLACE DIALOGEX DISCARDABLE  0, 0, 271, 86
  183. STYLE DS_SETFONT | DS_FIXEDSYS | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  184. CAPTION "Find & Replace"
  185. FONT 8, "MS Shell Dlg"
  186. BEGIN
  187.     LTEXT           "Find Text",IDC_STATIC,7,9,30,8,NOT WS_GROUP
  188.     COMBOBOX        XTP_IDC_EDIT_COMBO_FIND,61,6,143,154,CBS_DROPDOWN | 
  189.                     CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
  190.     LTEXT           "Replace With",IDC_STATIC,7,25,44,8,NOT WS_GROUP
  191.     COMBOBOX        XTP_IDC_EDIT_COMBO_REPLACE,61,23,143,135,CBS_DROPDOWN | 
  192.                     CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
  193.     GROUPBOX        "Options",IDC_STATIC,7,38,113,41
  194.     CONTROL         "Match whole word only",XTP_IDC_EDIT_CHK_MATCH_WHOLE_WORD,
  195.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,51,89,10
  196.     CONTROL         "Match case",XTP_IDC_EDIT_CHK_MATCH_CASE,"Button",
  197.                     BS_AUTOCHECKBOX | WS_TABSTOP,13,64,53,10
  198.     GROUPBOX        "Direction",IDC_STATIC,126,38,80,41
  199.     CONTROL         "Search Up",XTP_IDC_EDIT_RADIO_UP,"Button",
  200.                     BS_AUTORADIOBUTTON | WS_GROUP,134,51,50,10
  201.     CONTROL         "Search Down",XTP_IDC_EDIT_RADIO_DOWN,"Button",
  202.                     BS_AUTORADIOBUTTON,134,64,59,10
  203.     PUSHBUTTON      "&Find Next",XTP_IDC_EDIT_BTN_FIND_NEXT,214,7,50,14,
  204.                     WS_DISABLED | WS_TABSTOP
  205.     PUSHBUTTON      "&Replace",XTP_IDC_EDIT_BTN_REPLACE,214,23,50,14,
  206.                     WS_DISABLED | WS_TABSTOP
  207.     PUSHBUTTON      "Replace &All",XTP_IDC_EDIT_BTN_REPLACE_ALL,214,39,50,14,
  208.                     WS_DISABLED | WS_TABSTOP
  209.     PUSHBUTTON      "Close",IDCANCEL,214,65,50,14, WS_TABSTOP
  210. END
  211. XTP_IDD_EDIT_GOTOLINE DIALOGEX DISCARDABLE  0, 0, 165, 55
  212. STYLE DS_SETFONT | DS_FIXEDSYS | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  213. CAPTION "Go To Line"
  214. FONT 8, "MS Shell Dlg"
  215. BEGIN
  216.     LTEXT           "&Line number:",XTP_IDC_EDIT_TXT_LINENO,5,5,155,8
  217.     EDITTEXT        XTP_IDC_EDIT_LINENO,5,17,155,14,ES_AUTOHSCROLL | 
  218.                     ES_NUMBER
  219.     PUSHBUTTON      "&Go To",XTP_IDC_EDIT_BTN_GOTO,56,36,50,14
  220.     PUSHBUTTON      "Cancel",IDCANCEL,110,36,50,14
  221. END
  222. /////////////////////////////////////////////////////////////////////////////
  223. //
  224. // String Table
  225. //
  226. STRINGTABLE DISCARDABLE 
  227. BEGIN
  228.     XTP_IDS_EDIT_UNDEFINED     "Undefined command"
  229.     XTP_IDS_EDIT_MULTIPLE      "Multiple operations"
  230.     XTP_IDS_EDIT_DELETE        "Delete: "
  231.     XTP_IDS_EDIT_INSERT        "Insert: "
  232.     XTP_IDS_EDIT_TYPING        "Typing"
  233.     XTP_IDS_EDIT_PASTE         "Paste"
  234.     XTP_IDS_EDIT_MOVE          "Move"
  235.     XTP_IDS_EDIT_COPY          "Copy"
  236.     XTP_IDS_EDIT_INDENTATION   "Indentation"
  237.     XTP_IDS_EDIT_INDENT_DECREASE "Decrease Indent"
  238.     XTP_IDS_EDIT_FORMAT        "Format"
  239.     XTP_IDS_EDIT_TABIFY        "Tabify"
  240. END
  241. STRINGTABLE DISCARDABLE 
  242. BEGIN
  243.     XTP_IDS_EDIT_UNTABIFY      "Untabify"
  244.     XTP_IDS_EDIT_REPLACE_ALL   "Replace all"
  245.     XTP_IDS_EDIT_CASE          "Change selection case"
  246.     XTP_IDS_EDIT_DELETE_TEXT_BLOCK "Delete text block"
  247.     XTP_IDS_EDIT_MOVE_HERE     "&Move Here"
  248.     XTP_IDS_EDIT_COPY_HERE     "&Copy Here"
  249.     XTP_IDS_EDIT_CANCEL        "C&ancel"
  250.     XTP_IDS_EDIT_MSG_WARN_RELOAD 
  251.                             "File '%s' is modified by outside source!nDo you want to reload?"
  252. END
  253. STRINGTABLE DISCARDABLE 
  254. BEGIN
  255.     XTP_IDS_EDIT_CUSTOM        "Custom"
  256.     XTP_IDS_EDIT_REGULAR       "Regular"
  257.     XTP_IDS_EDIT_BOLD          "Bold"
  258.     XTP_IDS_EDIT_ITALIC        "Italic"
  259.     XTP_IDS_EDIT_BOLDITALIC    "Bold Italic"
  260. END
  261. STRINGTABLE DISCARDABLE 
  262. BEGIN
  263.     XTP_IDD_EDIT_OPTIONS       "Edit Options"
  264. END
  265. STRINGTABLE DISCARDABLE 
  266. BEGIN
  267.     XTP_IDS_EDIT_MSG_FREPLACED "%d match found and replaced!"
  268.     XTP_IDS_EDIT_MSG_FSEARCH   "Finished searching!"
  269. END
  270. STRINGTABLE DISCARDABLE 
  271. BEGIN
  272.     XTP_IDS_EDIT_LINENO        "&Line number (1 - %d):"
  273.     XTP_IDS_EDIT_OPENSCHEMACMD "Open Schema File"
  274.     XTP_IDS_EDIT_OPENSCHEMAMSG "Do you wish to close the ""Options Dialog"" and open the schema file ""%s%s"" in the editor window?"
  275. END
  276. #endif // !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)