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

对话框与窗口

开发平台:

Visual C++

  1. // Controls 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 "Controls/Resource.h"
  21. #include "Controls/res/Resource-Neutral.rc"
  22. #if !defined(AFX_RESOURCE_DLL) && !defined(_XTP_NO_STANDARDCONTROLS_RES)
  23. #ifdef _WIN32
  24. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  25. #pragma code_page(1252)
  26. #endif //_WIN32
  27. /////////////////////////////////////////////////////////////////////////////
  28. //
  29. // Dialog
  30. //
  31. XT_IDD_TIPOFTHEDAY DIALOGEX 0, 0, 279, 127
  32. STYLE DS_SETFONT | DS_FIXEDSYS | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  33. CAPTION "Tip of the Day"
  34. FONT 8, "MS Shell Dlg"
  35. BEGIN
  36.     DEFPUSHBUTTON   "&Close",IDOK,224,108,50,14
  37.     CONTROL         "&Show tips at startup",XT_IDC_CHK_DAYTIP_SHOW,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,110,140,10
  38.     PUSHBUTTON      "&Next Tip",XT_IDC_BTN_DAYTIP_NEXT,170,108,50,14
  39.     CONTROL         "",XT_IDC_BTN_DAYTIP_BORDER,"Static",SS_GRAYFRAME | NOT WS_VISIBLE,0,0,279,103
  40. END
  41. XT_IDD_COLORCUSTOM DIALOGEX DISCARDABLE  0, 0, 147, 161
  42. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | 
  43.     WS_CAPTION
  44. CAPTION "Custom"
  45. FONT 8, "MS Shell Dlg"
  46. BEGIN
  47.     LTEXT           "&Colors:",XT_IDC_TXT_COLORS,2,4,43,10
  48.     CONTROL         "",XT_IDC_CLR_WND,"Static",SS_BLACKFRAME | WS_TABSTOP,3,
  49.                     15,119,86
  50.     CONTROL         "",XT_IDC_CLR_LUM,"Static",SS_BLACKFRAME | WS_TABSTOP,
  51.                     126,15,20,86
  52.     LTEXT           "&Hue:",XT_IDC_TXT_HUE,7,108,18,8
  53.     EDITTEXT        XT_IDC_EDIT_HUE,25,106,33,13,ES_AUTOHSCROLL | ES_NUMBER
  54.     CONTROL         "Spin1",XT_IDC_SPIN_HUE,"msctls_updown32",
  55.                     UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_ARROWKEYS,49,105,
  56.                     10,14
  57.     LTEXT           "&Sat:",XT_IDC_TXT_SAT,7,125,18,8
  58.     EDITTEXT        XT_IDC_EDIT_SAT,25,122,33,13,ES_AUTOHSCROLL | ES_NUMBER
  59.     CONTROL         "Spin2",XT_IDC_SPIN_SAT,"msctls_updown32",
  60.                     UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_ARROWKEYS,49,122,
  61.                     10,14
  62.     LTEXT           "&Lum:",XT_IDC_TXT_LUM,7,140,18,8
  63.     EDITTEXT        XT_IDC_EDIT_LUM,25,138,33,13,ES_AUTOHSCROLL | ES_NUMBER
  64.     CONTROL         "Spin3",XT_IDC_SPIN_LUM,"msctls_updown32",
  65.                     UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_ARROWKEYS,49,137,
  66.                     10,14
  67.     LTEXT           "&Red:",XT_IDC_TXT_RED,65,108,23,8
  68.     EDITTEXT        XT_IDC_EDIT_RED,89,106,33,13,ES_AUTOHSCROLL | ES_NUMBER
  69.     CONTROL         "Spin1",XT_IDC_SPIN_RED,"msctls_updown32",
  70.                     UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_ARROWKEYS,113,105,
  71.                     11,14
  72.     LTEXT           "&Green:",XT_IDC_TXT_GREEN,65,125,23,8
  73.     EDITTEXT        XT_IDC_EDIT_GREEN,89,122,33,13,ES_AUTOHSCROLL | 
  74.                     ES_NUMBER
  75.     CONTROL         "Spin2",XT_IDC_SPIN_GREEN,"msctls_updown32",
  76.                     UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_ARROWKEYS,113,122,
  77.                     11,14
  78.     LTEXT           "&Blue:",XT_IDC_TXT_BLUE,65,140,23,8
  79.     EDITTEXT        XT_IDC_EDIT_BLUE,89,138,33,13,ES_AUTOHSCROLL | ES_NUMBER
  80.     CONTROL         "Spin3",XT_IDC_SPIN_BLUE,"msctls_updown32",
  81.                     UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_ARROWKEYS,113,137,
  82.                     11,14
  83. END
  84. XT_IDD_COLORSTANDARD DIALOGEX DISCARDABLE  0, 0, 147, 161
  85. STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | 
  86.     WS_CAPTION
  87. CAPTION "Standard"
  88. FONT 8, "MS Shell Dlg"
  89. BEGIN
  90.     LTEXT           "&Colors:",XT_IDC_TXT_COLORS,2,4,43,10
  91.     CONTROL         "",XT_IDC_CLR_HEX,"Static",SS_BLACKFRAME | WS_TABSTOP,0,
  92.                     15,147,145
  93. END
  94. XT_IDD_WINDOWLIST DIALOGEX DISCARDABLE  0, 0, 301, 164
  95. STYLE DS_SETFONT | DS_FIXEDSYS | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
  96. CAPTION "Arrange Windows"
  97. FONT 8, "MS Shell Dlg"
  98. BEGIN
  99.     LTEXT           "Select &Window:",IDC_STATIC,7,7,147,8
  100.     LISTBOX         XT_IDC_LBOX_WINDOWS,7,17,216,140,LBS_SORT | 
  101.                     LBS_OWNERDRAWFIXED | LBS_HASSTRINGS | 
  102.                     LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL | 
  103.                     WS_HSCROLL | WS_TABSTOP
  104.     PUSHBUTTON      "&Activate",XT_IDC_BTN_ACTIVATE,233,7,62,14
  105.     PUSHBUTTON      "&OK",IDOK,233,24,62,14
  106.     PUSHBUTTON      "&Save",XT_IDC_BTN_SAVE,233,41,62,14
  107.     PUSHBUTTON      "&Close Window",XT_IDC_BTN_CLOSEWINDOWS,233,58,62,14
  108.     PUSHBUTTON      "Casca&de",XT_IDC_BTN_CASCADE,233,75,62,14
  109.     PUSHBUTTON      "Tile &Horizontally",XT_IDC_BTN_TILEHORZ,233,92,62,14
  110.     PUSHBUTTON      "Tile &Vertically",XT_IDC_BTN_TILEVERT,233,109,62,14
  111.     PUSHBUTTON      "Minimi&ze",XT_IDC_BTN_MINIMIZE,233,126,62,14
  112. END
  113. /////////////////////////////////////////////////////////////////////////////
  114. //
  115. // Menu
  116. //
  117. XT_IDM_POPUP MENU DISCARDABLE 
  118. BEGIN
  119.     POPUP "RClickOutlookBar"
  120.     BEGIN
  121.         MENUITEM "S&mall Icons",                XT_IDC_SMALLICON
  122.         MENUITEM "Lar&ge Icons",                XT_IDC_LARGEICON
  123.     END
  124.     POPUP "RClickHexEdit"
  125.     BEGIN
  126.         MENUITEM "&Undo",                       ID_EDIT_UNDO
  127.         MENUITEM SEPARATOR
  128.         MENUITEM "Cu&t",                        ID_EDIT_CUT
  129.         MENUITEM "&Copy",                       ID_EDIT_COPY
  130.         MENUITEM "&Paste",                      ID_EDIT_PASTE
  131.         MENUITEM "&Delete",                     ID_EDIT_CLEAR
  132.         MENUITEM SEPARATOR
  133.         MENUITEM "Select &All",                 ID_EDIT_SELECT_ALL
  134.     END
  135.     POPUP "RClickHeader"
  136.     BEGIN
  137.         MENUITEM "Sort Ascending",              XT_IDC_SORTASC
  138.         MENUITEM "Sort Descending",             XT_IDC_SORTDSC
  139.         MENUITEM SEPARATOR
  140.         POPUP "Alignment"
  141.         BEGIN
  142.             MENUITEM "Align Left",                  XT_IDC_ALIGNLEFT
  143.             MENUITEM "Align Center",                XT_IDC_ALIGNCENTER
  144.             MENUITEM "Align Right",                 XT_IDC_ALIGNRIGHT
  145.         END
  146.     END
  147. END
  148. /////////////////////////////////////////////////////////////////////////////
  149. //
  150. // String Table
  151. //
  152. STRINGTABLE DISCARDABLE 
  153. BEGIN
  154.     XT_IDC_BTN_NEW          "New"
  155.     XT_IDC_BTN_DELETE       "Delete"
  156.     XT_IDC_BTN_UP           "Move Up"
  157.     XT_IDC_BTN_DOWN         "Move Down"
  158. END
  159. STRINGTABLE DISCARDABLE 
  160. BEGIN
  161.     XT_IDS_NAME             "Name"
  162.     XT_IDS_SIZE             "Size"
  163.     XT_IDS_TYPE             "Type"
  164.     XT_IDS_MODIFIED         "Modified"
  165.     XT_IDS_COLOR_AUTO       "Automatic"
  166.     XT_IDS_COLOR_CUST       "Customize..."
  167.     XT_IDS_SELDIR           "Select Directory:"
  168.     XT_IDS_DOT              "..."
  169.     XT_IDS_DEFEXT           "*.*"
  170.     XT_IDS_DEFFILT          "All Files (*.*)|*.*||"
  171.     XT_IDS_DEFTITLE         "Directory name:"
  172.     XT_IDS_CLICKKEEPOPEN    "Click push pin to keep open"
  173.     XT_IDS_SE_0             "The operating system is out of memory or resources."
  174.     XT_IDS_SE_ERR_FNF       "The specified file was not found."
  175.     XT_IDS_SE_ERR_PNF       "The specified path was not found."
  176. END
  177. STRINGTABLE DISCARDABLE 
  178. BEGIN
  179.     XT_IDS_SE_ERR_ACCESSDENIED 
  180.                             "The operating system denied access to the specified file."
  181.     XT_IDS_SE_ERR_OOM       "There was not enough memory to complete the operation."
  182.     XT_IDS_SE_ERR_BAD_FORMAT 
  183.                             "The .exe file is invalid (non-Win32