home *** CD-ROM | disk | FTP | other *** search
- #define DS_MODALFRAME 0x00000080L // Definition of Windows constants
- #define WS_SYSMENU 0x00080000L
- #define WS_CAPTION 0x00C00000L
- #define WS_POPUP 0x80000000L
- #define IDOK 0x00000001L
-
- #define SC_SIZE 0xF000
- #define SC_MOVE 0xF010
- #define SC_MINIMIZE 0xF020
- #define SC_MAXIMIZE 0xF030
- #define SC_CLOSE 0xF060
- #define SC_RESTORE 0xF120
-
- #define IDI_ICON 0x01L // IDs same as in Common.inc
- #define IDM_MENU 0x02L
- #define IDA_ACCEL 0x03L
- #define IDD_ABOUT 0x04L
-
- #define IDS_SYSMENU 0x010L
- #define IDM_FILEMENU 0x011L
- #define IDM_HELPMENU 0x012L
-
- #define IDM_NEW 0x020L
- #define IDM_OPEN 0x021L
- #define IDM_SAVE 0x022L
- #define IDM_SAVEAS 0x023L
- #define IDM_EXIT 0x024L
- #define IDM_HELPTOPICS 0x025L
- #define IDM_ABOUT 0x026L
-
- IDI_ICON ICON "Icon.ico"
-
- IDM_MENU MENU DISCARDABLE
- BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&New\tCtrl+N", IDM_NEW
- MENUITEM "&Open...\tCtrl+O", IDM_OPEN
- MENUITEM "&Save\tCtrl+S", IDM_SAVE
- MENUITEM "Save &As...", IDM_SAVEAS
- MENUITEM SEPARATOR
- MENUITEM "E&xit", IDM_EXIT
- END
- POPUP "&Help"
- BEGIN
- MENUITEM "&Help Topics", IDM_HELPTOPICS
- MENUITEM SEPARATOR
- MENUITEM "&About Skeleton", IDM_ABOUT
- END
- END
-
- IDA_ACCEL ACCELERATORS
- BEGIN
- "N", IDM_NEW, CONTROL, VIRTKEY
- "O", IDM_OPEN, CONTROL, VIRTKEY
- "S", IDM_SAVE, CONTROL, VIRTKEY
- END
-
- IDD_ABOUT DIALOG DISCARDABLE 0, 0, 160, 80
- STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU | WS_POPUP
- FONT 8,"MS Sans Serif"
- CAPTION "About Skeleton"
- BEGIN
- ICON IDI_ICON, -1, 8, 8, 0, 0
- CTEXT "APPLICATION Version #.#", -1, 30, 8,100, 8
- CTEXT "Copyright \251 1996 COMPANY", -1, 30,16,100, 8
- CTEXT "DESCRIPTION", -1, 0,32,160, 8
- CTEXT "by NAME", -1, 0,40,160, 8
- CTEXT "YYYY-MM-DD", -1, 0,48,160, 8
- DEFPUSHBUTTON "OK", IDOK,102,60, 50,14
- END
-
- STRINGTABLE
- BEGIN
- IDS_SYSMENU ,"Contains commands for manipulating this window." // for StatusBar
- SC_RESTORE ,"Restores this window to normal size."
- SC_MOVE ,"Moves this window."
- SC_SIZE ,"Resizes this window."
- SC_MINIMIZE ,"Collapses this window to an icon."
- SC_MAXIMIZE ,"Expands this window to fill the screen."
- SC_CLOSE ,"Closes this window."
-
- IDM_FILEMENU ,"Contains commands for working with documents."
- IDM_NEW ,"Creates a new document."
- IDM_OPEN ,"Opens an existing document."
- IDM_SAVE ,"Saves the document."
- IDM_SAVEAS ,"Saves the document with a new name."
- IDM_EXIT ,"Quits Skeleton."
-
- IDM_HELPMENU ,"Contains commands for displaying Help."
- IDM_HELPTOPICS ,"Displays the Help Contents and Index."
- IDM_ABOUT ,"Displays program information, version number, and copyright."
-
- IDM_NEW+0x080L ,"New" // for ToolTips
- IDM_OPEN+0x080L ,"Open"
- IDM_SAVE+0x080L ,"Save"
- END
-
- 1 VERSIONINFO
- FILEVERSION 2,0,0,0
- PRODUCTVERSION 2,0,0,0
- FILEFLAGSMASK 0x0000003FL
- FILEFLAGS 0x0000000BL
- FILEOS 0x00010001L
- FILETYPE 0x00000001L
- FILESUBTYPE 0x00000000L
- BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904E4"
- BEGIN
- VALUE "CompanyName", "COMPANY\0"
- VALUE "Comments", "COMMENT\0"
- VALUE "FileDescription","DESCRIPTION\0"
- VALUE "FileVersion", "VERSION #.#\0"
- VALUE "InternalName", "INTERNAL NAME\0"
- VALUE "LegalCopyright", "Copyright \251 1996 COMPANY\0"
- VALUE "LegalTrademarks","TRADEMARKS\0"
- VALUE "OriginalFilename","FILENAME\0"
- VALUE "ProductName", "NAME\0"
- VALUE "ProductVersion", "VERSION #.#\0"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x0409, 1252
- END
- END
-