Annotation of mstools/mfc/samples/tutorial/phbook.dlg, revision 1.1.1.1

1.1       root        1: /* PhBook.dlg : Defines the dialogs for the application.
                      2: //
                      3: // This is a part of the Microsoft Foundation Classes C++ library.
                      4: // Copyright (C) 1992 Microsoft Corporation
                      5: // All rights reserved.
                      6: //
                      7: // This source code is only intended as a supplement to the
                      8: // Microsoft Foundation Classes Reference and Microsoft
                      9: // QuickHelp documentation provided with the library.
                     10: // See these sources for detailed information regarding the
                     11: // Microsoft Foundation Classes product.
                     12: */
                     13: 
                     14: DLGINCLUDE RCDATA DISCARDABLE
                     15: BEGIN
                     16:        "RESOURCE.H\0"
                     17: END
                     18: 
                     19: ABOUTBOX DIALOG 22, 17, 144, 75
                     20: STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
                     21: CAPTION "About Phone Book"
                     22: BEGIN
                     23:        CTEXT           "Microsoft Foundation Classes", -1, 0, 2, 144, 8
                     24:        CTEXT           "Phone Book Database", -1, 0, 12, 144, 8
                     25:        CTEXT           "Version 1.0", -1, 0, 22, 144, 8
                     26:        DEFPUSHBUTTON   "OK", IDOK, 56, 56, 32, 14, WS_GROUP
                     27:        ICON            AFX_IDI_STD_FRAME, -1, 10, 30, 16, 16
                     28: END
                     29: 
                     30: FIND DIALOG 22, 17, 90, 50
                     31: STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
                     32: CAPTION "Enter the last name"
                     33: BEGIN
                     34:        EDITTEXT        IDC_DATA, 5, 10, 80, 12, ES_AUTOHSCROLL
                     35:        DEFPUSHBUTTON   "OK", IDOK, 5, 32, 32, 14, WS_GROUP
                     36:        PUSHBUTTON      "Cancel", IDCANCEL, 42, 32, 32, 14, WS_GROUP
                     37: END
                     38: 
                     39: EDITPERSON DIALOG 40, 20, 190, 100
                     40: STYLE WS_POPUP | WS_DLGFRAME
                     41: BEGIN
                     42:        EDITTEXT        IDC_LASTNAME, 55, 10, 100, 12
                     43:        EDITTEXT        IDC_FIRSTNAME, 55, 25, 100, 12
                     44:        EDITTEXT        IDC_PHONE, 70, 40, 70, 12
                     45:        DEFPUSHBUTTON   "OK", IDOK, 50, 80, 40, 14
                     46:        PUSHBUTTON      "Cancel", IDCANCEL, 120, 80, 40, 12
                     47:        LTEXT           "Last Name:", IDC_STATICLASTNAME, 5, 11, 41, 12, NOT
                     48:                                        WS_GROUP
                     49:        LTEXT           "First Name:", IDC_STATICFIRSTNAME, 5, 26, 41, 12, NOT
                     50:                                        WS_GROUP
                     51:        LTEXT           "Phone Number:", IDC_STATICPHONE, 5, 41, 52, 14, NOT
                     52:                                        WS_GROUP
                     53:        LTEXT           "Last Modified:", IDC_STATICMOD, 10, 60, 50, 14, NOT
                     54:                                        WS_GROUP
                     55:        LTEXT           "", IDC_MOD, 64, 60, 110, 10, NOT WS_GROUP
                     56: END
                     57: 
                     58: NODATA DIALOG 22, 17, 180, 60
                     59: STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
                     60: CAPTION "Phone Book Help"
                     61: BEGIN
                     62:        LTEXT           "You have not yet created a database.  In order", -1, 10,
                     63:                                        5, 180, 8
                     64:        LTEXT           "to start using the Phone Book you must first", -1, 10,
                     65:                                        14, 180, 8
                     66:        LTEXT           "either Open an existing database or create", -1, 10, 23,
                     67:                                        180, 8
                     68:        LTEXT           "a New one.", -1, 10, 32, 180, 8
                     69:        DEFPUSHBUTTON   "OK", IDOK, 74, 41, 32, 14, WS_GROUP
                     70: END
                     71: 
                     72: NONAME DIALOG 22, 17, 200, 65
                     73: STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
                     74: CAPTION "Phone Book Help"
                     75: BEGIN
                     76:        LTEXT           "You are in data entry mode on an untitled database.",
                     77:                                        -1, 10, 5, 180, 8
                     78:        LTEXT           "Use SaveAs to name the database and save it to the", -1,
                     79:                                        10, 14, 180, 8
                     80:        LTEXT           "disk.  You can also perform data entry commands.", -1,
                     81:                                        10, 23, 180, 8
                     82:        LTEXT           "Select continue for help on the data entry mode.", -1,
                     83:                                        10, 32, 180, 8
                     84:        DEFPUSHBUTTON   "Continue", IDOK, 44, 43, 32, 14, WS_GROUP
                     85:        PUSHBUTTON      "Cancel", IDCANCEL, 120, 43, 32, 14, WS_GROUP
                     86: END
                     87: 
                     88: ENTER DIALOG 22, 17, 200, 75
                     89: STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
                     90: CAPTION "Phone Book Help"
                     91: BEGIN
                     92:        LTEXT           "Use Person Add to add new people to the list.  Select",
                     93:                                        -1, 10, 5, 180, 8
                     94:        LTEXT           "a person with the mouse or arrow keys.  With a person",
                     95:                                        -1, 10, 14, 180, 8
                     96:        LTEXT           "selected you can Delete [menu or Delete key] or edit",
                     97:                                        -1, 10, 23, 180, 8
                     98:        LTEXT           "[menu or Enter key].  The Find option will allow you",
                     99:                                        -1, 10, 32, 180, 8
                    100:        LTEXT           "to select a sublist.  To display the original list", -1,
                    101:                                        10, 41, 180, 8
                    102:        LTEXT           "select Find All.", -1, 10, 50, 180, 8
                    103:        DEFPUSHBUTTON   "OK", IDOK, 84, 59, 32, 14, WS_GROUP
                    104: END

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.