Операционная система Microsoft Windows 3.1 для программиста -том 3


Листинг 1.10. Файл smartpad/smartpad.rc


#include "smartpad.hpp"

IDB_NEWUP BITMAP "newup.bmp" IDB_NEWDOWN BITMAP "newdown.bmp" IDB_NEWGR BITMAP "newgr.bmp"

IDB_OPENUP BITMAP "openup.bmp" IDB_OPENDOWN BITMAP "opendown.bmp" IDB_OPENGR BITMAP "opengr.bmp"

IDB_SAVEUP BITMAP "saveup.bmp" IDB_SAVEDOWN BITMAP "savedown.bmp" IDB_SAVEGR BITMAP "savegr.bmp"

IDB_EXITUP BITMAP "exitup.bmp" IDB_EXITDOWN BITMAP "exitdown.bmp" IDB_EXITGR BITMAP "exitgr.bmp"

IDB_COPYUP BITMAP "copyup.bmp" IDB_COPYDOWN BITMAP "copydown.bmp" IDB_COPYGR BITMAP "copygr.bmp"

IDB_PASTUP BITMAP "pastup.bmp" IDB_PASTDOWN BITMAP "pastdown.bmp" IDB_PASTGR BITMAP "pastgr.bmp"

IDB_CUTUP BITMAP "cutup.bmp" IDB_CUTDOWN BITMAP "cutdown.bmp" IDB_CUTGR BITMAP "cutgr.bmp"

IDB_UNDOUP BITMAP "undoup.bmp" IDB_UNDODOWN BITMAP "undodown.bmp" IDB_UNDOGR BITMAP "undogr.bmp"

IDB_HELPUP BITMAP "helpup.bmp" IDB_HELPDOWN BITMAP "helpdown.bmp" IDB_HELPGR BITMAP "helpgr.bmp"

APP_MENU MENU BEGIN POPUP "&File" BEGIN MENUITEM "&New\tCtrl+N", CM_FILENEW MENUITEM "&Open...\tCtrl+O", CM_FILEOPEN MENUITEM "&Save\tCtrl+S", CM_FILESAVE MENUITEM "Save &as...", CM_FILESAVEAS MENUITEM SEPARATOR MENUITEM "&Print...", CM_FILEPRINT, GRAYED MENUITEM "Page se&tup...", CM_FILEPAGE_SETUP, GRAYED MENUITEM "P&rinter setup...", CM_FILEPRINTER_SETUP,GRAYED MENUITEM SEPARATOR MENUITEM "E&xit", CM_FILEEXIT END

POPUP "&Edit" BEGIN MENUITEM "&Undo\tCtrl+Z", CM_EDITUNDO MENUITEM SEPARATOR MENUITEM "&Cut\tCtrl+X", CM_EDITCUT MENUITEM "&Copy\tCtrl+C", CM_EDITCOPY MENUITEM "&Paste\tCtrl+V", CM_EDITPASTE MENUITEM "C&lear\tCtrl+Del", CM_EDITCLEAR MENUITEM SEPARATOR MENUITEM "Select &All", CM_EDITSELALL END




Начало  Назад  Вперед