⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tree.rc

📁 API经典入门
💻 RC
📖 第 1 页 / 共 2 页
字号:
END

IDD_TREE_FORM DIALOG DISCARDABLE  0, 0, 292, 202
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "",IDC_NameBox,96,90,99,55
    CTEXT           "First",IDC_FirstName,101,100,90,8
    CTEXT           "Middle",IDC_MiddleName,101,115,90,8
    CTEXT           "Last",IDC_LastName,101,130,90,8
    LISTBOX         IDC_Children,97,166,95,32,LBS_SORT | 
                    LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
    CTEXT           "Children",IDC_STATIC,97,156,95,7
    COMBOBOX        IDC_Spouses,215,105,70,54,CBS_SIMPLE | CBS_SORT | 
                    WS_VSCROLL | WS_TABSTOP
    LISTBOX         IDC_Siblings,5,105,75,38,LBS_SORT | LBS_NOINTEGRALHEIGHT | 
                    WS_VSCROLL | WS_TABSTOP
    CTEXT           "Spouse(s)",IDC_STATIC,215,95,70,10
    CTEXT           "Siblings",IDC_STATIC,5,95,75,10
    GROUPBOX        "Mother",IDC_MotherBox,175,55,89,28
    GROUPBOX        "Father",IDC_FatherBox,40,55,89,28
    GROUPBOX        "Static",IDC_STATIC,40,5,90,39
    GROUPBOX        "Static",IDC_STATIC,175,5,90,39
    CTEXT           "?????",IDC_Mother,180,70,80,10
    CTEXT           "?????",IDC_Father,45,70,80,10
    CTEXT           "?????",IDC_MGFather,180,20,80,10
    CTEXT           "?????",IDC_PGFather,50,20,69,10
    CTEXT           "?????",IDC_MGMother,180,30,80,10
    CTEXT           "?????",IDC_PGMother,45,30,80,10
END

IDD_PersonData DIALOG DISCARDABLE  0, 0, 365, 239
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,109,197,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,231,197,50,14
    EDITTEXT        IDC_FirstName,23,43,45,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_MiddleName,73,43,45,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_LastName,123,43,45,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_MaidenName,173,43,45,12,ES_AUTOHSCROLL
    CONTROL         "Female",IDC_Female,"Button",BS_AUTORADIOBUTTON | 
                    WS_GROUP,246,45,35,10
    CONTROL         "Male",IDC_Male,"Button",BS_AUTORADIOBUTTON,246,30,35,10
    EDITTEXT        IDC_Birthdate,25,95,50,12,ES_AUTOHSCROLL | WS_GROUP
    EDITTEXT        IDC_BirthPlace,80,95,45,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_Deathdate,139,95,40,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_DeathPlace,185,95,45,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_Interred,235,95,49,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_Occupation,63,123,65,12,ES_AUTOHSCROLL
    EDITTEXT        IDC_ID,23,169,40,12,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_FatherID,67,169,40,12,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_MotherID,114,169,40,12,ES_AUTOHSCROLL | ES_READONLY
    EDITTEXT        IDC_Notes,167,138,170,50,ES_MULTILINE | ES_AUTOVSCROLL
    CTEXT           "First",IDC_STATIC,27,33,35,7
    CTEXT           "Last",IDC_STATIC,127,33,35,7
    GROUPBOX        "Name",IDC_STATIC,18,18,205,45
    CTEXT           "Middle",IDC_STATIC,78,33,35,7
    CTEXT           "Maiden",IDC_STATIC,178,33,35,7
    CTEXT           "Family Tree Genealogical Database",IDC_STATIC,90,8,180,
                    10
    CONTROL         "",IDC_Portrait,"Static",SS_BLACKFRAME,295,15,55,75
    CTEXT           "Portrait",IDC_STATIC,295,90,55,7
    GROUPBOX        "Gender",IDC_STATIC,240,15,50,45
    GROUPBOX        "Birth Info",IDC_STATIC,20,70,110,40
    GROUPBOX        "Death Info",IDC_STATIC,135,70,155,40
    RTEXT           "Occupation: ",IDC_STATIC,18,123,40,10
    CTEXT           "Notes",IDC_STATIC,218,128,70,8
    CTEXT           "Date",IDC_STATIC,25,85,50,10
    CTEXT           "Place",IDC_STATIC,80,85,45,10
    CTEXT           "Date",IDC_STATIC,139,85,40,10
    CTEXT           "Place",IDC_STATIC,185,85,45,10
    CTEXT           "Interred",IDC_STATIC,235,85,49,10
    CTEXT           "Father ID",IDC_STATIC,67,159,40,10
    CTEXT           "Mother ID",IDC_STATIC,114,159,40,10
    CTEXT           "ID",IDC_STATIC,23,159,40,10
    GROUPBOX        "Read-Only Attributes",IDC_STATIC,18,143,140,45
END


//////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDP_FAILED_OPEN_DATABASE "Cannot open database."
END

STRINGTABLE PRELOAD DISCARDABLE 
BEGIN
    IDR_MAINFRAME           "Tree Windows Application"
    IDR_TREETYPE            "\nTree\nTree Document\n\n\nTree.Document\nTree Document"
    IDR_AHNENTYPE           "\nAhnen\nAhnentafel Document\n\n\nAhnentafel Document\nAhnentafel Document"
END

STRINGTABLE PRELOAD DISCARDABLE 
BEGIN
    AFX_IDS_APP_TITLE       "Tree Windows Application"
    AFX_IDS_IDLEMESSAGE     "Ready"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_INDICATOR_EXT        "EXT"
    ID_INDICATOR_CAPS       "CAP"
    ID_INDICATOR_NUM        "NUM"
    ID_INDICATOR_SCRL       "SCRL"
    ID_INDICATOR_OVR        "OVR"
    ID_INDICATOR_REC        "REC"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_FILE_NEW             "Create a new document"
    ID_FILE_OPEN            "Open an existing document"
    ID_FILE_CLOSE           "Close the active document"
    ID_FILE_SAVE            "Save the active document"
    ID_FILE_SAVE_AS         "Save the active document with a new name"
    ID_FILE_PAGE_SETUP      "Change the printing options"
    ID_FILE_PRINT_SETUP     "Change the printer and printing options"
    ID_FILE_PRINT           "Print the active document"
    ID_FILE_PRINT_PREVIEW   "Display full pages"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_APP_ABOUT            "Display program information, version number and copyright"
    ID_APP_EXIT             "Quit the application; prompts to save documents"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_FILE_MRU_FILE1       "Open this document"
    ID_FILE_MRU_FILE2       "Open this document"
    ID_FILE_MRU_FILE3       "Open this document"
    ID_FILE_MRU_FILE4       "Open this document"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_NEXT_PANE            "Switch to the next window pane"
    ID_PREV_PANE            "Switch back to the previous window pane"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_WINDOW_NEW           "Open another window for the active document"
    ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window"
    ID_WINDOW_CASCADE       "Arrange windows so they overlap"
    ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles"
    ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles"
    ID_WINDOW_SPLIT         "Split the active window into panes"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_EDIT_CLEAR           "Erase the selection"
    ID_EDIT_CLEAR_ALL       "Erase everything"
    ID_EDIT_COPY            "Copy the selection and put it on the Clipboard"
    ID_EDIT_CUT             "Cut the selection and put it on the Clipboard"
    ID_EDIT_FIND            "Find the specified text"
    ID_EDIT_PASTE           "Insert Clipboard contents"
    ID_EDIT_REPEAT          "Repeat the last action"
    ID_EDIT_REPLACE         "Replace specific text with different text"
    ID_EDIT_SELECT_ALL      "Select the entire document"
    ID_EDIT_UNDO            "Undo the last action"
    ID_EDIT_REDO            "Redo the previously undone action"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_VIEW_TOOLBAR         "Show or hide the toolbar"
    ID_VIEW_STATUS_BAR      "Show or hide the status bar"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_RECORD_FIRST         "Move to first record"
    ID_RECORD_LAST          "Move to final record"
    ID_RECORD_NEXT          "Move to next record"
    ID_RECORD_PREV          "Move to previous record"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_SCSIZE          "Change the window size"
    AFX_IDS_SCMOVE          "Change the window position"
    AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
    AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
    AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
    AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
    AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
END

STRINGTABLE DISCARDABLE 
BEGIN
    AFX_IDS_SCRESTORE       "Restore the window to normal size"
    AFX_IDS_SCTASKLIST      "Activate Task List"
    AFX_IDS_MDICHILD        "Activate this window"
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_INFO_RECORDSET       "Display debug information about the record set."
    ID_INFO_PERSON          "View/Edit data concerning the current person."
    ID_RECORD_EDIT          "View/Edit data concerning the current person."
    ID_RECORD_ADD           "Add a new person record to the record set."
    ID_RECORD_DELETE        "Delete the current person from the database."
    ID_WINDOW_NEWRELATIVEWINDOW 
                            "Open another relatives window for the current document."
    ID_WINDOW_NEWAHNENTAFELWINDOW 
                            "Open another ahnentafel window for the current document."
    ID_WINDOW_NEWDATAWINDOW "Open another data window for the current document."
    ID_FONTS_CHANGEPRINTERFONT "Change current printer font selection."
    ID_INFO_LOADDIB         "Performs the CDIBitmap::LoadFromDIB() function."
    ID_PORTRAIT_LOADFROMFILE 
                            "Load bitmap portrait into the database from a .BMP file."
    ID_PORTRAIT_LOADFROMRESOURCE 
                            "Load portrait into the database from the application's resource."
END

STRINGTABLE DISCARDABLE 
BEGIN
    ID_PORTRAIT_DELETE      "Remove the bitmap portrait from the current person's record."
    ID_PORTRAIT_SAVETOFILE  "Copy the current bitmap portrait to a specified file."
END


#ifndef APSTUDIO_INVOKED
////////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "res\tree.rc2"  // non-App Studio edited resources

#include "afxres.rc"  	// Standard components
#include "afxprint.rc"	// printing/print preview resources
#include "afxdb.rc"		// Database resources

/////////////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -