Чтение онлайн

ЖАНРЫ

Microsoft Visual C++ и MFC. Программирование для Windows 95 и Windows NT. Часть 2

Фролов Григорий Вячеславович

Шрифт:

BEGIN

 AFX_IDS_APP_TITLE "Dater"

 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_APP_ABOUT "Display program information, version number and copyright\nAbout"

 ID_APP_EXIT "Quit the application; prompts to save documents\nExit"

END

STRINGTABLE DISCARDABLE

BEGIN

 ID_FILE_MRU_FILE1 "Open this document"

 ID_FILE_MRU_FILE2 "Open this document"

 //...

 ID_FILE_MRU_FILE16 "Open this document"

END

STRINGTABLE DISCARDABLE

BEGIN

 ID_NEXT_PANE "Switch to the next window pane\nNext Pane"

 ID_PREV_PANE "Switch back to the previous window pane\n Previous Pane"

END

STRINGTABLE DISCARDABLE

BEGIN

 ID_WINDOW_SPLIT "Split the active window into panes\nSplit"

END

STRINGTABLE DISCARDABLE

BEGIN

 ID_EDIT_CLEAR "Erase the selection\nErase"

 ID_EDIT_CLEAR_ALL "Erase everything\nErase All"

 ID_EDIT_COPY "Copy the selection and put it on the Clipboard\nCopy"

 ID_EDIT_CUT "Cut the selection and put it on the Clipboard\nCut"

 ID_EDIT_FIND "Find the specified text\nFind"

 ID_EDIT_PASTE "Insert Clipboard contents\nPaste"

 ID_EDIT_REPEAT "Repeat the last action\nRepeat"

 ID_EDIT_REPLACE "Replace specific text with different text\nReplace"

 ID_EDIT_SELECT_ALL "Select the entire document\nSelect All"

 ID_EDIT_UNDO "Undo the last action\nUndo"

 ID_EDIT_REDO "Redo the previously undone action\nRedo"

END

STRINGTABLE DISCARDABLE

BEGIN

 ID_VIEW_TOOLBAR "Show or hide the toolbar\nToggle ToolBar"

 ID_VIEW_STATUS_BAR "Show or hide the status bar\nToggle StatusBar"

END

STRINGTABLE DISCARDABLE

BEGIN

 ID_RECORD_FIRST "Move to first record\nFirst Record"

 ID_RECORD_LAST "Move to final record\nLast Record"

 ID_RECORD_NEXT "Move to next record\nNext Record"

 ID_RECORD_PREV "Move to previous record\nPrevious 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"

END

//#endif // English (U.S.) resources

//////////////////////////////////////////////////////////////

#ifndef APSTUDIO_INVOKED

//////////////////////////////////////////////////////////////

//

// Generated from the TEXTINCLUDE 3 resource.

//

#define _AFX_NO_SPLITTER_RESOURCES

#define _AFX_NO_OLE_RESOURCES

#define _AFX_NO_TRACKER_RESOURCES

#define _AFX_NO_PROPERTY_RESOURCES

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)

#ifdef _WIN32

LANGUAGE 9, 1

#pragma code_page(1252)

#endif

#include "res\Dater.rc2" // non-Microsoft Visual C++ edited resources

#include "afxres.rc" // Standard components

#include "afxdb.rc" // Database resources

#endif

//////////////////////////////////////////////////////////////

#endif // not APSTUDIO_INVOKED

Идентификаторы

ресурсов приложения Dater определены в файле resource.h. Этот файл создается автоматически редактором ресурсов Microsoft Visual C++. Исходный текст файла resource.h представлен в листинге 3.15.

Листинг 5.4. Файл resource.h

//{{NO_DEPENDENCIES}}

// Microsoft Developer Studio generated include file.

// Used by Dater.rc

//

#define IDD_ABOUTBOX 100

Поделиться с друзьями: