home *** CD-ROM | disk | FTP | other *** search
/ Prima Shareware 3 / DuCom_Prima-Shareware-3_cd1.bin / PROGRAMO / C / CKTBL / SAMPLES / MFCDEMO / MFCDEMO.RC < prev    next >
Encoding:
Text File  |  1994-09-09  |  20.6 KB  |  512 lines

  1. //Microsoft App Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. #ifdef APSTUDIO_INVOKED
  16. //////////////////////////////////////////////////////////////////////////////
  17. //
  18. // TEXTINCLUDE
  19. //
  20.  
  21. 1 TEXTINCLUDE DISCARDABLE 
  22. BEGIN
  23.     "resource.h\0"
  24. END
  25.  
  26. 2 TEXTINCLUDE DISCARDABLE 
  27. BEGIN
  28.     "#include ""afxres.h""\r\n"
  29.     "\0"
  30. END
  31.  
  32. 3 TEXTINCLUDE DISCARDABLE 
  33. BEGIN
  34.     "#include ""res\\mfcdemo.rc2""  // non-App Studio edited resources\r\n"
  35.     "\r\n"
  36.     "#include ""afxres.rc""  \011// Standard components\r\n"
  37.     "#include ""afxprint.rc""\011// printing/print preview resources\r\n"
  38.     "\0"
  39. END
  40.  
  41. /////////////////////////////////////////////////////////////////////////////////////
  42. #endif    // APSTUDIO_INVOKED
  43.  
  44.  
  45. //////////////////////////////////////////////////////////////////////////////
  46. //
  47. // Bitmap
  48. //
  49.  
  50. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "RES\\TOOLBAR.BMP"
  51. IDB_STYLES              BITMAP  MOVEABLE PURE   "RES\\STYLES.BMP"
  52. IDB_AMEX                BITMAP  DISCARDABLE     "RES\\AMEX008.BMP"
  53. IDB_EUROCARD            BITMAP  DISCARDABLE     "RES\\EURO004.BMP"
  54. IDB_MASTERCARD          BITMAP  DISCARDABLE     "RES\\MSTR008.BMP"
  55. IDB_VISA                BITMAP  DISCARDABLE     "RES\\VISA004.BMP"
  56.  
  57. //////////////////////////////////////////////////////////////////////////////
  58. //
  59. // Menu
  60. //
  61.  
  62. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  63. BEGIN
  64.     POPUP "&File"
  65.     BEGIN
  66.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  67.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  68.         MENUITEM SEPARATOR
  69.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  70.         MENUITEM SEPARATOR
  71.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  72.         MENUITEM SEPARATOR
  73.         MENUITEM "E&xit",                       ID_APP_EXIT
  74.     END
  75.     POPUP "&View"
  76.     BEGIN
  77.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  78.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  79.     END
  80.     POPUP "&Help"
  81.     BEGIN
  82.         MENUITEM "&About Mfcdemo...",           ID_APP_ABOUT
  83.     END
  84. END
  85.  
  86. IDR_MFCDEMTYPE MENU PRELOAD DISCARDABLE 
  87. BEGIN
  88.     POPUP "&File"
  89.     BEGIN
  90.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  91.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  92.         MENUITEM "&Close",                      ID_FILE_CLOSE
  93.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  94.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  95.         MENUITEM SEPARATOR
  96.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  97.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  98.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  99.         MENUITEM SEPARATOR
  100.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  101.         MENUITEM SEPARATOR
  102.         MENUITEM "E&xit",                       ID_APP_EXIT
  103.     END
  104.     POPUP "&Edit"
  105.     BEGIN
  106.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  107.         MENUITEM SEPARATOR
  108.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  109.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  110.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  111.         MENUITEM SEPARATOR
  112.         MENUITEM "Delete Rows...",              ID_EDIT_DELETEROWS
  113.         MENUITEM "Delete Columns...",           ID_EDIT_DELETECOLUMNS
  114.     END
  115.     POPUP "&View"
  116.     BEGIN
  117.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  118.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  119.     END
  120.     POPUP "&Insert"
  121.     BEGIN
  122.         MENUITEM "&Rows...",                    ID_INSERT_ROWS
  123.         MENUITEM "&Columns...",                 ID_INSERT_COLUMNS
  124.     END
  125.     POPUP "&Format"
  126.     BEGIN
  127.         MENUITEM "&Cells...",                   ID_FORMAT_CELLS_TYPE
  128.         MENUITEM "&Font...",                    ID_FORMAT_FONT
  129.         MENUITEM "&Background Color...",        ID_FORMAT_BACKGROUNDCOLOR
  130.         MENUITEM "Fo®orund Color...",        ID_FORMAT_FOREGORUNDCOLOR
  131.     END
  132.     POPUP "&Tools"
  133.     BEGIN
  134.         MENUITEM "Options &Size...",            ID_TOOLS_OPTIONS_SIZE
  135.         MENUITEM "Options &Labels...",          ID_TOOLS_OPTIONS_LABELS
  136.         MENUITEM "Options User &Actions...",    ID_TOOLS_OPTIONS_ACTIONS
  137.         MENUITEM "Options &Scrolling...",       ID_TOOLS_OPTIONS_SCROLLING
  138.         MENUITEM "Options &View...",            ID_TOOLS_OPTIONS_VIEW
  139.     END
  140.     POPUP "&Window"
  141.     BEGIN
  142.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  143.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  144.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  145.     END
  146.     POPUP "&Help"
  147.     BEGIN
  148.         MENUITEM "&About CKTBL for MFC",        ID_APP_ABOUT
  149.     END
  150. END
  151.  
  152.  
  153. //////////////////////////////////////////////////////////////////////////////
  154. //
  155. // Accelerator
  156. //
  157.  
  158. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  159. BEGIN
  160.     "N",            ID_FILE_NEW,            VIRTKEY,CONTROL
  161.     "O",            ID_FILE_OPEN,           VIRTKEY,CONTROL
  162.     "S",            ID_FILE_SAVE,           VIRTKEY,CONTROL
  163.     "P",            ID_FILE_PRINT,          VIRTKEY,CONTROL
  164.     "Z",            ID_EDIT_UNDO,           VIRTKEY,CONTROL
  165.     "X",            ID_EDIT_CUT,            VIRTKEY,CONTROL
  166.     "C",            ID_EDIT_COPY,           VIRTKEY,CONTROL
  167.     "V",            ID_EDIT_PASTE,          VIRTKEY,CONTROL
  168.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY,ALT
  169.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY,SHIFT
  170.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY,CONTROL
  171.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY,SHIFT
  172.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  173.     VK_F6,          ID_PREV_PANE,           VIRTKEY,SHIFT
  174. END
  175.  
  176.  
  177. //////////////////////////////////////////////////////////////////////////////
  178. //
  179. // Dialog
  180. //
  181.  
  182. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 223, 151
  183. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  184. CAPTION "About MFC Demo for CKTBL"
  185. FONT 8, "MS Sans Serif"
  186. BEGIN
  187.     ICON            IDI_CKTBL,IDC_STATIC,8,11,18,20
  188.     LTEXT           "CKTBL Demo Application",IDC_STATIC,33,11,119,8
  189.     LTEXT           "Copyright \251 1994 CK Softwareentwicklung",IDC_STATIC,
  190.                     33,26,161,9
  191.     DEFPUSHBUTTON   "OK",IDOK,175,10,42,14,WS_GROUP
  192.     LTEXT           "Schwarzwaldstra\337e 31",IDC_STATIC,33,35,112,9
  193.     LTEXT           "D-71131 Jettingen",IDC_STATIC,33,44,112,9
  194.     LTEXT           "Tel.: +49 (0) 7452 78844",IDC_STATIC,33,66,112,9
  195.     LTEXT           "FAX: +49 (0) 7452 78845",IDC_STATIC,33,75,112,9
  196.     LTEXT           "Compuserve: 100044,3216",IDC_STATIC,33,83,112,9
  197.     LTEXT           "Germany",IDC_STATIC,33,52,112,9
  198. END
  199.  
  200. IDD_OPTIONS DIALOG DISCARDABLE  0, 0, 221, 115
  201. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  202. CAPTION "CKTBL Size"
  203. FONT 8, "MS Sans Serif"
  204. BEGIN
  205.     LTEXT           "&Rows:",IDC_STATIC,13,21,37,9
  206.     EDITTEXT        IDC_ROWS,53,19,44,12,ES_AUTOHSCROLL
  207.     LTEXT           "&Columns:",IDC_STATIC,12,36,39,13
  208.     EDITTEXT        IDC_COLUMNS,53,35,44,12,ES_AUTOHSCROLL
  209.     CONTROL         "Grow table Horizontally",IDC_OPT_GROW_HORIZONTAL,
  210.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,72,107,8
  211.     CONTROL         "Grow table vertically",IDC_OPT_GROW_VERTICAL,"Button",
  212.                     BS_AUTOCHECKBOX | WS_TABSTOP,10,84,98,11
  213.     DEFPUSHBUTTON   "OK",IDOK,162,7,50,14
  214.     PUSHBUTTON      "&Apply now",IDAPPLY,162,28,50,14
  215.     PUSHBUTTON      "Cancel",IDCANCEL,162,58,50,14
  216.     ICON            IDI_CKTBL,IDC_STATIC,193,83,18,20
  217.     GROUPBOX        "Static",IDC_STATIC,4,4,136,49
  218.     GROUPBOX        "Automatic Growing",IDC_STATIC,4,58,135,45
  219. END
  220.  
  221. IDD_FORMAT_CELLS_TYPE DIALOG DISCARDABLE  0, 0, 251, 175
  222. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  223. CAPTION "CKTBL Cell Format"
  224. FONT 8, "MS Sans Serif"
  225. BEGIN
  226.     LTEXT           "&Type:",IDC_STATIC,5,8,33,10
  227.     COMBOBOX        IDC_FORMAT_TYPE,66,7,102,55,CBS_DROPDOWNLIST | 
  228.                     WS_VSCROLL | WS_TABSTOP
  229.     LTEXT           "&Horizontal Align:",IDC_STATIC,5,24,59,9
  230.     COMBOBOX        IDC_FORMAT_HALIGN,66,23,102,66,CBS_DROPDOWNLIST | 
  231.                     WS_VSCROLL | WS_TABSTOP
  232.     LTEXT           "&Vertical Align:",IDC_STATIC,5,39,58,10
  233.     COMBOBOX        IDC_FORMAT_VALIGN,66,39,102,57,CBS_DROPDOWNLIST | 
  234.                     WS_VSCROLL | WS_TABSTOP
  235.     GROUPBOX        "&Multiline flags",IDC_STATIC,6,57,164,62
  236.     CONTROL         "&Automatic Grow&&Shrink",IDC_FORMAT_AUTOGROW,"Button",
  237.                     BS_AUTOCHECKBOX | WS_TABSTOP,12,72,94,11
  238.     CONTROL         "&Worbreak",IDC_FORMAT_WORDBREAK,"Button",
  239.                     BS_AUTOCHECKBOX | WS_TABSTOP,12,84,89,13
  240.     CONTROL         "&Vertical scrollbar",IDC_FORMAT_VSCROLL,"Button",
  241.                     BS_AUTOCHECKBOX | WS_TABSTOP,12,100,90,11
  242.     CONTROL         "None",IDC_FORMAT_TEXTLIMIT_NONE,"Button",
  243.                     BS_AUTORADIOBUTTON | WS_GROUP,13,134,38,12
  244.     CONTROL         "Limit",IDC_FORMAT_TEXTLIMIT_LIMIT,"Button",
  245.                     BS_AUTORADIOBUTTON,13,150,28,12
  246.     EDITTEXT        IDC_FORMAT_TEXTLIMIT,45,150,41,12,ES_AUTOHSCROLL
  247.     CONTROL         "Tab on Textlimit",IDC_FORMAT_TABONTEXTLIMIT,"Button",
  248.                     BS_AUTOCHECKBOX | WS_TABSTOP,90,150,72,12
  249.     DEFPUSHBUTTON   "OK",IDOK,191,6,50,14
  250.     PUSHBUTTON      "&Apply now",IDC_APPLY,191,26,50,14
  251.     PUSHBUTTON      "Cancel",IDCANCEL,191,51,50,14
  252.     ICON            IDI_CKTBL,IDC_STATIC,223,148,18,20
  253.     GROUPBOX        "Textlimit",IDC_STATIC,6,123,163,46
  254. END
  255.  
  256. IDD_INSERT_ROWCOL DIALOG DISCARDABLE  0, 0, 209, 80
  257. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  258. CAPTION "Insert Rows"
  259. FONT 8, "MS Sans Serif"
  260. BEGIN
  261.     DEFPUSHBUTTON   "OK",IDOK,152,10,50,14
  262.     PUSHBUTTON      "Cancel",IDCANCEL,152,27,50,14
  263.     EDITTEXT        IDC_INSERT_BEFORE,66,23,54,14,ES_AUTOHSCROLL
  264.     EDITTEXT        IDC_INSERT_AMOUNT,66,41,55,13,ES_AUTOHSCROLL
  265.     GROUPBOX        "Insert Rows",IDC_INSERT_GROUP,8,7,135,65
  266.     LTEXT           "&Before",IDC_INSERT_BEFORE_LABEL,18,25,47,10
  267.     LTEXT           "&Amount",IDC_INSERT_AMOUNT_LABEL,18,42,48,8
  268.     ICON            IDI_CKTBL,IDC_STATIC,183,53,18,20
  269. END
  270.  
  271. IDC_OPTIONS_LABELS DIALOG DISCARDABLE  0, 0, 202, 113
  272. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  273. CAPTION "CKTBL Label Options"
  274. FONT 8, "MS Sans Serif"
  275. BEGIN
  276.     DEFPUSHBUTTON   "OK",IDOK,149,10,50,14
  277.     PUSHBUTTON      "Cancel",IDCANCEL,149,51,50,14
  278.     GROUPBOX        "Default Contents",IDC_STATIC,5,7,138,57
  279.     GROUPBOX        "3D Look",IDC_STATIC,5,65,138,44
  280.     CONTROL         "3D Row Labels",IDC_LABELS_3DROWS,"Button",
  281.                     BS_AUTOCHECKBOX | WS_TABSTOP,13,79,102,8
  282.     CONTROL         "3D Column Labels",IDC_LABELS_3DCOLS,"Button",
  283.                     BS_AUTOCHECKBOX | WS_TABSTOP,13,91,79,11
  284.     COMBOBOX        IDC_LABELS_ROWS,69,22,67,62,CBS_DROPDOWNLIST | 
  285.                     WS_VSCROLL | WS_TABSTOP
  286.     LTEXT           "Row Labels:",IDC_STATIC,13,24,47,10
  287.     LTEXT           "Column Labels:",IDC_STATIC,13,42,55,10
  288.     COMBOBOX        IDC_LABELS_COLUMNS,69,41,67,52,CBS_DROPDOWNLIST | 
  289.                     WS_VSCROLL | WS_TABSTOP
  290.     PUSHBUTTON      "&Apply now",IDC_APPLY,150,27,48,14
  291.     ICON            IDI_CKTBL,IDC_STATIC,179,90,18,20
  292. END
  293.  
  294. IDD_ACTIONS DIALOG DISCARDABLE  0, 0, 206, 167
  295. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  296. CAPTION "CKTBL User Actions"
  297. FONT 8, "MS Sans Serif"
  298. BEGIN
  299.     GROUPBOX        "&Edit",IDC_STATIC,4,7,92,66
  300.     CONTROL         "Edit Row Labels",IDC_ACTION_EDITROWLABELS,"Button",
  301.                     BS_AUTOCHECKBOX | WS_TABSTOP,10,19,87,11
  302.     CONTROL         "Edit Column Labels",IDC_ACTION_EDITCOLUMNLABELS,
  303.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,10,32,84,11
  304.     CONTROL         "Edit Cells",IDC_ACTION_EDITCELLS,"Button",
  305.                     BS_AUTOCHECKBOX | WS_TABSTOP,10,44,81,11
  306.     GROUPBOX        "Resize",IDC_STATIC,4,77,90,57
  307.     CONTROL         "Resize Rows",IDC_ACTION_RESIZE_ROWS,"Button",
  308.                     BS_AUTOCHECKBOX | WS_TABSTOP,9,90,66,10
  309.     CONTROL         "Resize Columns",IDC_ACTION_RESIZE_COLUMNS,"Button",
  310.                     BS_AUTOCHECKBOX | WS_TABSTOP,9,103,65,10
  311.     GROUPBOX        "&Select",IDC_STATIC,101,7,90,65
  312.     CONTROL         "Select Cells",IDC_ACTION_SELECTCELLS,"Button",
  313.                     BS_AUTOCHECKBOX | WS_TABSTOP,110,19,63,11
  314.     CONTROL         "Select Rows",IDC_ACTION_SELECTROWS,"Button",
  315.                     BS_AUTOCHECKBOX | WS_TABSTOP,110,32,61,11
  316.     CONTROL         "Select Columns",IDC_ACTION_SELECTCOLUMNS,"Button",
  317.                     BS_AUTOCHECKBOX | WS_TABSTOP,110,45,65,11
  318.     CONTROL         "Select All",IDC_ACTION_SELECTALL,"Button",
  319.                     BS_AUTOCHECKBOX | WS_TABSTOP,110,58,59,11
  320.     GROUPBOX        "Extended Selection",IDC_STATIC,100,77,93,56
  321.     CONTROL         "Extended Select",IDC_ACTION_EXTENDEDSELECT,"Button",
  322.                     BS_AUTOCHECKBOX | WS_TABSTOP,110,90,67,11
  323.     CONTROL         "Shift Select",IDC_ACTION_SHIFTSELECT,"Button",
  324.                     BS_AUTOCHECKBOX | WS_TABSTOP,110,104,61,9
  325.     CONTROL         "Control Select",IDC_ACTION_CONTROLSELECT,"Button",
  326.                     BS_AUTOCHECKBOX | WS_TABSTOP,110,118,67,8
  327.     DEFPUSHBUTTON   "OK",IDOK,3,145,50,14
  328.     PUSHBUTTON      "Cancel",IDCANCEL,61,145,50,14
  329.     ICON            IDI_CKTBL,IDC_STATIC,175,140,18,20
  330. END
  331.  
  332. IDC_OPTIONS_SCROLL DIALOG DISCARDABLE  0, 0, 205, 143
  333. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  334. CAPTION "CKTBL Scroll Options"
  335. FONT 8, "MS Sans Serif"
  336. BEGIN
  337.     DEFPUSHBUTTON   "OK",IDOK,151,14,50,14
  338.     PUSHBUTTON      "Cancel",IDCANCEL,151,56,50,14
  339.     GROUPBOX        "Scrollbars",IDC_STATIC,1,10,132,47
  340.     GROUPBOX        "Scroll Range",IDC_STATIC,2,60,132,47
  341.     GROUPBOX        "Misc",IDC_STATIC,3,111,132,26
  342.     CONTROL         "Smooth Scroll",IDC_SCROLL_SMOOTH,"Button",
  343.                     BS_AUTOCHECKBOX | WS_TABSTOP,11,122,96,8
  344.     LTEXT           "Horizontal",IDC_STATIC,11,76,40,9
  345.     LTEXT           "Vertical",IDC_STATIC,11,91,40,9
  346.     LTEXT           "Horizontal",IDC_STATIC,11,26,40,9
  347.     LTEXT           "Vertical",IDC_STATIC,11,40,40,9
  348.     COMBOBOX        IDC_SCROLL_HSCROLL,53,23,74,46,CBS_DROPDOWNLIST | 
  349.                     WS_VSCROLL | WS_TABSTOP
  350.     COMBOBOX        IDC_SCROLL_HRANGE,54,72,74,59,CBS_DROPDOWNLIST | 
  351.                     WS_VSCROLL | WS_TABSTOP
  352.     COMBOBOX        IDC_SCROLL_VSCROLL,53,39,74,50,CBS_DROPDOWNLIST | 
  353.                     WS_VSCROLL | WS_TABSTOP
  354.     COMBOBOX        IDC_SCROLL_VRANGE,54,89,74,44,CBS_DROPDOWNLIST | 
  355.                     WS_VSCROLL | WS_TABSTOP
  356.     ICON            IDI_CKTBL,IDC_STATIC,181,116,18,20
  357.     PUSHBUTTON      "&Apply now",IDC_APPLY,151,33,50,14
  358. END
  359.  
  360. IDD_OPTIONS_VIEW DIALOG DISCARDABLE  0, 0, 199, 110
  361. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  362. CAPTION "CKTBL View Options"
  363. FONT 8, "MS Sans Serif"
  364. BEGIN
  365.     GROUPBOX        "View Options",IDC_STATIC,5,6,126,92
  366.     CONTROL         "Show &Grid",IDC_VIEW_SHOWGRID,"Button",BS_AUTOCHECKBOX | 
  367.                     WS_TABSTOP,11,23,80,8
  368.     CONTROL         "Show &Selection",IDC_VIEW_SHOWSELECTION,"Button",
  369.                     BS_AUTOCHECKBOX | WS_TABSTOP,11,35,72,11
  370.     DEFPUSHBUTTON   "OK",IDOK,139,10,50,14
  371.     PUSHBUTTON      "&Apply now",IDAPPLY,138,29,50,14
  372.     PUSHBUTTON      "Cancel",IDCANCEL,139,54,50,14
  373.     ICON            IDI_CKTBL,IDC_STATIC,168,78,18,20
  374. END
  375.  
  376.  
  377. //////////////////////////////////////////////////////////////////////////////
  378. //
  379. // String Table
  380. //
  381.  
  382. STRINGTABLE PRELOAD DISCARDABLE 
  383. BEGIN
  384.     IDR_MAINFRAME           "Mfcdemo Windows Application"
  385.     IDR_MFCDEMTYPE          "\nMfcdem\nMfcdem Document\n\n\nMfcdem.Document\nMfcdem Document"
  386.     IDS_NOSELECTION         "There is no selection. Please select some rows or columns and try again."
  387.     IDS_NOMULTIPLESEL       "Multiple selections are not allowed here.  Please select only a single range of cells and try again."
  388. END
  389.  
  390. STRINGTABLE PRELOAD DISCARDABLE 
  391. BEGIN
  392.     AFX_IDS_APP_TITLE       "CKTBL.DLL Demo Application"
  393.     AFX_IDS_IDLEMESSAGE     "Ready"
  394. END
  395.  
  396. STRINGTABLE DISCARDABLE 
  397. BEGIN
  398.     ID_INDICATOR_EXT        "EXT"
  399.     ID_INDICATOR_CAPS       "CAP"
  400.     ID_INDICATOR_NUM        "NUM"
  401.     ID_INDICATOR_SCRL       "SCRL"
  402.     ID_INDICATOR_OVR        "OVR"
  403.     ID_INDICATOR_REC        "REC"
  404. END
  405.  
  406. STRINGTABLE DISCARDABLE 
  407. BEGIN
  408.     ID_FILE_NEW             "Create a new document"
  409.     ID_FILE_OPEN            "Open an existing document"
  410.     ID_FILE_CLOSE           "Close the active document"
  411.     ID_FILE_SAVE            "Save the active document"
  412.     ID_FILE_SAVE_AS         "Save the active document with a new name"
  413.     ID_FILE_PAGE_SETUP      "Change the printing options"
  414.     ID_FILE_PRINT_SETUP     "Change the printer and printing options"
  415.     ID_FILE_PRINT           "Print the active document"
  416.     ID_FILE_PRINT_PREVIEW   "Display full pages"
  417. END
  418.  
  419. STRINGTABLE DISCARDABLE 
  420. BEGIN
  421.     ID_APP_ABOUT            "Display program information, version number and copyright"
  422.     ID_APP_EXIT             "Quit the application; prompts to save documents"
  423. END
  424.  
  425. STRINGTABLE DISCARDABLE 
  426. BEGIN
  427.     ID_FILE_MRU_FILE1       "Open this document"
  428.     ID_FILE_MRU_FILE2       "Open this document"
  429.     ID_FILE_MRU_FILE3       "Open this document"
  430.     ID_FILE_MRU_FILE4       "Open this document"
  431. END
  432.  
  433. STRINGTABLE DISCARDABLE 
  434. BEGIN
  435.     ID_NEXT_PANE            "Switch to the next window pane"
  436.     ID_PREV_PANE            "Switch back to the previous window pane"
  437. END
  438.  
  439. STRINGTABLE DISCARDABLE 
  440. BEGIN
  441.     ID_WINDOW_NEW           "Open another window for the active document"
  442.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window"
  443.     ID_WINDOW_CASCADE       "Arrange windows so they overlap"
  444.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles"
  445.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles"
  446.     ID_WINDOW_SPLIT         "Split the active window into panes"
  447. END
  448.  
  449. STRINGTABLE DISCARDABLE 
  450. BEGIN
  451.     ID_EDIT_CLEAR           "Erase the selection"
  452.     ID_EDIT_CLEAR_ALL       "Erase everything"
  453.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard"
  454.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard"
  455.     ID_EDIT_FIND            "Find the specified text"
  456.     ID_EDIT_PASTE           "Insert Clipboard contents"
  457.     ID_EDIT_REPEAT          "Repeat the last action"
  458.     ID_EDIT_REPLACE         "Replace specific text with different text"
  459.     ID_EDIT_SELECT_ALL      "Select the entire document"
  460.     ID_EDIT_UNDO            "Undo the last action"
  461.     ID_EDIT_REDO            "Redo the previously undone action"
  462. END
  463.  
  464. STRINGTABLE DISCARDABLE 
  465. BEGIN
  466.     ID_VIEW_TOOLBAR         "Show or hide the toolbar"
  467.     ID_VIEW_STATUS_BAR      "Show or hide the status bar"
  468. END
  469.  
  470. STRINGTABLE DISCARDABLE 
  471. BEGIN
  472.     AFX_IDS_SCSIZE          "Change the window size"
  473.     AFX_IDS_SCMOVE          "Change the window position"
  474.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  475.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  476.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  477.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  478.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  479. END
  480.  
  481. STRINGTABLE DISCARDABLE 
  482. BEGIN
  483.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  484.     AFX_IDS_SCTASKLIST      "Activate Task List"
  485.     AFX_IDS_MDICHILD        "Activate this window"
  486. END
  487.  
  488.  
  489. //////////////////////////////////////////////////////////////////////////////
  490. //
  491. // Icon
  492. //
  493.  
  494. IDR_MAINFRAME           ICON    DISCARDABLE     "RES\\IDR_MAIN.ICO"
  495. IDI_CKTBL               ICON    DISCARDABLE     "RES\\CKTBL1.ICO"
  496. IDR_MAINFRAME_AFX       ICON    DISCARDABLE     "RES\\MFCDEMO.ICO"
  497. IDR_MFCDEMTYPE          ICON    DISCARDABLE     "RES\\MFCDEDOC.ICO"
  498.  
  499. #ifndef APSTUDIO_INVOKED
  500. ////////////////////////////////////////////////////////////////////////////////
  501. //
  502. // Generated from the TEXTINCLUDE 3 resource.
  503. //
  504. #include "res\mfcdemo.rc2"  // non-App Studio edited resources
  505.  
  506. #include "afxres.rc"      // Standard components
  507. #include "afxprint.rc"    // printing/print preview resources
  508.  
  509. /////////////////////////////////////////////////////////////////////////////////////
  510. #endif    // not APSTUDIO_INVOKED
  511.  
  512.