home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / mdibind / mdibind.rc < prev    next >
Text File  |  1998-03-26  |  14KB  |  467 lines

  1. //Microsoft Developer 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. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE
  42. BEGIN
  43.     "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  44.     "#define _AFX_NO_OLE_RESOURCES\r\n"
  45.     "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  46.     "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  47.     "\r\n"
  48.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
  49.     "#ifdef _WIN32\r\n"
  50.     "LANGUAGE 9, 1\r\n"
  51.     "#pragma code_page(1252)\r\n"
  52.     "#endif\r\n"
  53.     "#include ""res\\MDIBind.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
  54.     "#include ""afxres.rc""         // Standard components\r\n"
  55.     "#endif\0"
  56. END
  57.  
  58. #endif    // APSTUDIO_INVOKED
  59.  
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62. //
  63. // Icon
  64. //
  65.  
  66. // Icon with lowest ID value placed first to ensure application icon
  67. // remains consistent on all systems.
  68. IDR_MAINFRAME           ICON    DISCARDABLE     "res\\MDIBind.ico"
  69. IDR_RDCTYPE             ICON    DISCARDABLE     "res\\MDIDoc.ico"
  70. IDR_GRIDTYPE            ICON    DISCARDABLE     "res\\grid.ico"
  71. IDR_MASKTYPE            ICON    DISCARDABLE     "res\\mask.ico"
  72.  
  73. /////////////////////////////////////////////////////////////////////////////
  74. //
  75. // Bitmap
  76. //
  77.  
  78. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\\Toolbar.bmp"
  79.  
  80. /////////////////////////////////////////////////////////////////////////////
  81. //
  82. // Toolbar
  83. //
  84.  
  85. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  86. BEGIN
  87.     BUTTON      ID_FILE_NEW
  88.     BUTTON      ID_FILE_OPEN
  89.     BUTTON      ID_FILE_SAVE
  90.     SEPARATOR
  91.     BUTTON      ID_EDIT_CUT
  92.     BUTTON      ID_EDIT_COPY
  93.     BUTTON      ID_EDIT_PASTE
  94.     SEPARATOR
  95.     BUTTON      ID_FILE_PRINT
  96.     SEPARATOR
  97.     BUTTON      ID_APP_ABOUT
  98.     BUTTON      ID_WINDOW_BIND
  99. END
  100.  
  101.  
  102. /////////////////////////////////////////////////////////////////////////////
  103. //
  104. // Menu
  105. //
  106.  
  107. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  108. BEGIN
  109.     POPUP "&File"
  110.     BEGIN
  111.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  112.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN, GRAYED
  113.         MENUITEM SEPARATOR
  114.         MENUITEM "E&xit",                       ID_APP_EXIT
  115.     END
  116.     POPUP "&View"
  117.     BEGIN
  118.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  119.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  120.     END
  121.     POPUP "&Help"
  122.     BEGIN
  123.         MENUITEM "&About MDIBind...",           ID_APP_ABOUT
  124.     END
  125. END
  126.  
  127. IDR_CONTROLMENU MENU PRELOAD DISCARDABLE
  128. BEGIN
  129.     POPUP "&File"
  130.     BEGIN
  131.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  132.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN, GRAYED
  133.         MENUITEM "&Close",                      ID_FILE_CLOSE
  134.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE, GRAYED
  135.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS, GRAYED
  136.         MENUITEM SEPARATOR
  137.         MENUITEM "E&xit",                       ID_APP_EXIT
  138.     END
  139.     POPUP "&Edit"
  140.     BEGIN
  141.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO, GRAYED
  142.         MENUITEM SEPARATOR
  143.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT, GRAYED
  144.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY, GRAYED
  145.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE, GRAYED
  146.     END
  147.     POPUP "&View"
  148.     BEGIN
  149.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  150.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  151.     END
  152.     POPUP "&Window"
  153.     BEGIN
  154.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  155.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  156.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  157.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  158.         MENUITEM SEPARATOR
  159.         MENUITEM "&Bind...\tCtrl+B",            ID_WINDOW_BIND
  160.     END
  161.     POPUP "&Help"
  162.     BEGIN
  163.         MENUITEM "&About MDIBind...",           ID_APP_ABOUT
  164.     END
  165. END
  166.  
  167.  
  168. /////////////////////////////////////////////////////////////////////////////
  169. //
  170. // Accelerator
  171. //
  172.  
  173. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  174. BEGIN
  175.     "B",            ID_WINDOW_BIND,         VIRTKEY, CONTROL, NOINVERT
  176.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  177.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL, NOINVERT
  178.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL, NOINVERT
  179.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL, NOINVERT
  180.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL, NOINVERT
  181.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT, NOINVERT
  182.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT, NOINVERT
  183.     VK_F6,          ID_NEXT_PANE,           VIRTKEY, NOINVERT
  184.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT, NOINVERT
  185.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL, NOINVERT
  186.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT, NOINVERT
  187.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL, NOINVERT
  188.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL, NOINVERT
  189. END
  190.  
  191.  
  192. /////////////////////////////////////////////////////////////////////////////
  193. //
  194. // Dialog
  195. //
  196.  
  197. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  198. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  199. CAPTION "About MDIBind"
  200. FONT 8, "MS Sans Serif"
  201. BEGIN
  202.     ICON            IDR_MAINFRAME,IDC_STATIC,27,19,21,20
  203.     LTEXT           "MDIBind Version 1.0",IDC_STATIC,70,10,77,8,SS_NOPREFIX
  204.     LTEXT           "Copyright ⌐ 1997-1998",IDC_STATIC,70,25,77,8
  205.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  206.     LTEXT           "Created by Chris Koziarz",IDC_STATIC,70,40,77,8
  207. END
  208.  
  209. IDD_DATASOURCE DIALOG DISCARDABLE  0, 0, 263, 129
  210. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  211. CAPTION "Data Source"
  212. FONT 8, "MS Sans Serif"
  213. BEGIN
  214.     DEFPUSHBUTTON   "OK",IDOK,206,7,50,14
  215.     PUSHBUTTON      "Cancel",IDCANCEL,206,24,50,14
  216.     EDITTEXT        IDC_USER,39,28,158,14,ES_AUTOHSCROLL
  217.     EDITTEXT        IDC_PASWORD,39,50,158,14,ES_AUTOHSCROLL
  218.     EDITTEXT        IDC_SQL,39,70,158,52,ES_MULTILINE | ES_AUTOHSCROLL
  219.     LTEXT           "DataSrc",IDC_STATIC,7,7,27,8
  220.     LTEXT           "User",IDC_STATIC,7,32,16,8
  221.     LTEXT           "Password",IDC_STATIC,7,53,32,8
  222.     LTEXT           "SQL",IDC_STATIC,7,70,15,8
  223.     COMBOBOX        IDC_DATASRC,39,7,158,88,CBS_DROPDOWN | CBS_SORT |
  224.                     WS_VSCROLL | WS_TABSTOP
  225. END
  226.  
  227. IDD_WINDOWLIST DIALOG DISCARDABLE  0, 0, 207, 92
  228. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  229. CAPTION "Control List"
  230. FONT 8, "MS Sans Serif"
  231. BEGIN
  232.     DEFPUSHBUTTON   "OK",IDOK,150,7,50,14
  233.     PUSHBUTTON      "Cancel",IDCANCEL,150,24,50,14
  234.     LISTBOX         IDC_RDCLIST,7,7,106,78,LBS_SORT | LBS_NOINTEGRALHEIGHT |
  235.                     WS_VSCROLL | WS_TABSTOP
  236.     LTEXT           "Column Name:",IDC_STATIC,122,60,47,8
  237.     COMBOBOX        IDC_COLUMN,122,73,78,67,CBS_DROPDOWN | CBS_SORT |
  238.                     WS_VSCROLL | WS_TABSTOP
  239. END
  240.  
  241.  
  242. /////////////////////////////////////////////////////////////////////////////
  243. //
  244. // Version
  245. //
  246.  
  247. VS_VERSION_INFO VERSIONINFO
  248.  FILEVERSION 1,0,0,1
  249.  PRODUCTVERSION 1,0,0,1
  250.  FILEFLAGSMASK 0x3fL
  251. #ifdef _DEBUG
  252.  FILEFLAGS 0x1L
  253. #else
  254.  FILEFLAGS 0x0L
  255. #endif
  256.  FILEOS 0x4L
  257.  FILETYPE 0x1L
  258.  FILESUBTYPE 0x0L
  259. BEGIN
  260.     BLOCK "StringFileInfo"
  261.     BEGIN
  262.         BLOCK "040904B0"
  263.         BEGIN
  264.             VALUE "CompanyName", "\0"
  265.             VALUE "FileDescription", "MDIBIND MFC Application\0"
  266.             VALUE "FileVersion", "1, 0, 0, 1\0"
  267.             VALUE "InternalName", "MDIBIND\0"
  268.             VALUE "LegalCopyright", "Copyright ⌐ 1997-1998\0"
  269.             VALUE "LegalTrademarks", "\0"
  270.             VALUE "OriginalFilename", "MDIBIND.EXE\0"
  271.             VALUE "ProductName", "MDIBIND Application\0"
  272.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  273.         END
  274.     END
  275.     BLOCK "VarFileInfo"
  276.     BEGIN
  277.         VALUE "Translation", 0x409, 1200
  278.     END
  279. END
  280.  
  281.  
  282.  
  283. /////////////////////////////////////////////////////////////////////////////
  284. //
  285. // DESIGNINFO
  286. //
  287.  
  288. #ifdef APSTUDIO_INVOKED
  289. GUIDELINES DESIGNINFO DISCARDABLE
  290. BEGIN
  291.     IDD_ABOUTBOX, DIALOG
  292.     BEGIN
  293.         LEFTMARGIN, 7
  294.         RIGHTMARGIN, 210
  295.         TOPMARGIN, 7
  296.         BOTTOMMARGIN, 48
  297.     END
  298.  
  299.     IDD_DATASOURCE, DIALOG
  300.     BEGIN
  301.         LEFTMARGIN, 7
  302.         RIGHTMARGIN, 256
  303.         TOPMARGIN, 7
  304.         BOTTOMMARGIN, 122
  305.     END
  306.  
  307.     IDD_WINDOWLIST, DIALOG
  308.     BEGIN
  309.         LEFTMARGIN, 7
  310.         RIGHTMARGIN, 200
  311.         TOPMARGIN, 7
  312.         BOTTOMMARGIN, 85
  313.     END
  314. END
  315. #endif    // APSTUDIO_INVOKED
  316.  
  317.  
  318. /////////////////////////////////////////////////////////////////////////////
  319. //
  320. // String Table
  321. //
  322.  
  323. STRINGTABLE PRELOAD DISCARDABLE
  324. BEGIN
  325.     IDR_MAINFRAME           "MDIBind"
  326.     IDR_RDCTYPE             "\nRDC\nRDC\n\n\nRDC.Document\nRDC Document"
  327.     IDR_GRIDTYPE            "\nGrid\nGrid Control\n\n\nMdi.Document\nGrid Document"
  328.     IDR_MASKTYPE            "\nEdit\nEdit Control\n\n\nMdi.Document\nEdit Document"
  329. END
  330.  
  331. STRINGTABLE PRELOAD DISCARDABLE
  332. BEGIN
  333.     AFX_IDS_APP_TITLE       "MDIBind"
  334.     AFX_IDS_IDLEMESSAGE     "Ready"
  335. END
  336.  
  337. STRINGTABLE DISCARDABLE
  338. BEGIN
  339.     ID_INDICATOR_EXT        "EXT"
  340.     ID_INDICATOR_CAPS       "CAP"
  341.     ID_INDICATOR_NUM        "NUM"
  342.     ID_INDICATOR_SCRL       "SCRL"
  343.     ID_INDICATOR_OVR        "OVR"
  344.     ID_INDICATOR_REC        "REC"
  345. END
  346.  
  347. STRINGTABLE DISCARDABLE
  348. BEGIN
  349.     ID_FILE_NEW             "Create a new document\nNew"
  350.     ID_FILE_OPEN            "Open an existing document\nOpen"
  351.     ID_FILE_CLOSE           "Close the active document\nClose"
  352.     ID_FILE_SAVE            "Save the active document\nSave"
  353.     ID_FILE_SAVE_AS         "Save the active document with a new name\nSave As"
  354. END
  355.  
  356. STRINGTABLE DISCARDABLE
  357. BEGIN
  358.     ID_APP_ABOUT            "Display program information, version number and copyright\nAbout"
  359.     ID_APP_EXIT             "Quit the application; prompts to save documents\nExit"
  360. END
  361.  
  362. STRINGTABLE DISCARDABLE
  363. BEGIN
  364.     ID_FILE_MRU_FILE1       "Open this document"
  365.     ID_FILE_MRU_FILE2       "Open this document"
  366.     ID_FILE_MRU_FILE3       "Open this document"
  367.     ID_FILE_MRU_FILE4       "Open this document"
  368.     ID_FILE_MRU_FILE5       "Open this document"
  369.     ID_FILE_MRU_FILE6       "Open this document"
  370.     ID_FILE_MRU_FILE7       "Open this document"
  371.     ID_FILE_MRU_FILE8       "Open this document"
  372.     ID_FILE_MRU_FILE9       "Open this document"
  373.     ID_FILE_MRU_FILE10      "Open this document"
  374.     ID_FILE_MRU_FILE11      "Open this document"
  375.     ID_FILE_MRU_FILE12      "Open this document"
  376.     ID_FILE_MRU_FILE13      "Open this document"
  377.     ID_FILE_MRU_FILE14      "Open this document"
  378.     ID_FILE_MRU_FILE15      "Open this document"
  379.     ID_FILE_MRU_FILE16      "Open this document"
  380. END
  381.  
  382. STRINGTABLE DISCARDABLE
  383. BEGIN
  384.     ID_NEXT_PANE            "Switch to the next window pane\nNext Pane"
  385.     ID_PREV_PANE            "Switch back to the previous window pane\nPrevious Pane"
  386. END
  387.  
  388. STRINGTABLE DISCARDABLE
  389. BEGIN
  390.     ID_WINDOW_NEW           "Open another window for the active document\nNew Window"
  391.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window\nArrange Icons"
  392.     ID_WINDOW_CASCADE       "Arrange windows so they overlap\nCascade Windows"
  393.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles\nTile Windows"
  394.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles\nTile Windows"
  395.     ID_WINDOW_SPLIT         "Split the active window into panes\nSplit"
  396. END
  397.  
  398. STRINGTABLE DISCARDABLE
  399. BEGIN
  400.     ID_EDIT_CLEAR           "Erase the selection\nErase"
  401.     ID_EDIT_CLEAR_ALL       "Erase everything\nErase All"
  402.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard\nCopy"
  403.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard\nCut"
  404.     ID_EDIT_FIND            "Find the specified text\nFind"
  405.     ID_EDIT_PASTE           "Insert Clipboard contents\nPaste"
  406.     ID_EDIT_REPEAT          "Repeat the last action\nRepeat"
  407.     ID_EDIT_REPLACE         "Replace specific text with different text\nReplace"
  408.     ID_EDIT_SELECT_ALL      "Select the entire document\nSelect All"
  409.     ID_EDIT_UNDO            "Undo the last action\nUndo"
  410.     ID_EDIT_REDO            "Redo the previously undone action\nRedo"
  411. END
  412.  
  413. STRINGTABLE DISCARDABLE
  414. BEGIN
  415.     ID_VIEW_TOOLBAR         "Show or hide the toolbar\nToggle ToolBar"
  416.     ID_VIEW_STATUS_BAR      "Show or hide the status bar\nToggle StatusBar"
  417. END
  418.  
  419. STRINGTABLE DISCARDABLE
  420. BEGIN
  421.     AFX_IDS_SCSIZE          "Change the window size"
  422.     AFX_IDS_SCMOVE          "Change the window position"
  423.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  424.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  425.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  426.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  427.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  428. END
  429.  
  430. STRINGTABLE DISCARDABLE
  431. BEGIN
  432.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  433.     AFX_IDS_SCTASKLIST      "Activate Task List"
  434.     AFX_IDS_MDICHILD        "Activate this window"
  435. END
  436.  
  437. STRINGTABLE DISCARDABLE
  438. BEGIN
  439.     ID_WINDOW_BIND          "Binds the active control to the Data Source\nBind Control"
  440. END
  441.  
  442. #endif    // English (U.S.) resources
  443. /////////////////////////////////////////////////////////////////////////////
  444.  
  445.  
  446.  
  447. #ifndef APSTUDIO_INVOKED
  448. /////////////////////////////////////////////////////////////////////////////
  449. //
  450. // Generated from the TEXTINCLUDE 3 resource.
  451. //
  452. #define _AFX_NO_SPLITTER_RESOURCES
  453. #define _AFX_NO_OLE_RESOURCES
  454. #define _AFX_NO_TRACKER_RESOURCES
  455. #define _AFX_NO_PROPERTY_RESOURCES
  456.  
  457. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  458. #ifdef _WIN32
  459. LANGUAGE 9, 1
  460. #pragma code_page(1252)
  461. #endif
  462. #include "res\MDIBind.rc2"  // non-Microsoft Visual C++ edited resources
  463. #include "afxres.rc"         // Standard components
  464. #endif
  465. /////////////////////////////////////////////////////////////////////////////
  466. #endif    // not APSTUDIO_INVOKED
  467.