home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
startapp.zip
/
MAIN.RC
< prev
next >
Wrap
Text File
|
1998-09-10
|
5KB
|
113 lines
/**************************************************************************
* File name : main.rc
*
* Description: This resource file contains the menu and string
* table definitions.
*
* Concepts : resource script
*
* API's : [none]
*
* Required
* Files : OS2.H, MAIN.H, DLG.H
*
* (c) Copyright IBM Corp. 1991, 1998 All rights reserved.
*
* These sample programs are owned by International Business Machines
* Corporation or one of its subsidiaries ("IBM") and are copyrighted and
* licensed, not sold.
*
* You may copy, modify, and distribute these sample programs in any
* form without payment to IBM, for any purpose including developing,
* using, marketing or distributing programs that include or are
* derivative works of the sample programs.
*
* The sample programs are provided to you on an "AS IS" basis, without
* warranty of any kind. IBM HEREBY EXPRESSLY DISCLAIMS ALL WARRANTIES,
* EITHER EXPRESS OR IMPLIED, INCLUDING , BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
* Some jurisdictions do not allow for the exclusion or limitation of
* implied warranties, so the above limitations or exclusions may not
* apply to you. IBM shall not be liable for any damages you suffer
* as a result of using, modifying or distributing the sample programs
* or their derivatives.
*************************************************************************/
#include <os2.h>
#include "main.h"
#include "dlg.h"
ICON IDR_MAIN "main.ico"
MENU IDR_MAIN
{
SUBMENU "~Control", IDM_CTRL, MIS_TEXT
{
MENUITEM "~Start", IDM_START, MIS_TEXT
MENUITEM "~Terminate", IDM_TERMIN8, MIS_TEXT
}
SUBMENU "~Help", IDM_HELP, MIS_TEXT
{
MENUITEM "Help ~index", IDM_HELPINDEX, MIS_TEXT
MENUITEM "~General help", IDM_HELPGENERAL, MIS_TEXT
MENUITEM "~Using help", IDM_HELPUSINGHELP, MIS_TEXT
MENUITEM "~Tutorial", IDM_HELPTUTORIAL, MIS_TEXT
MENUITEM SEPARATOR
MENUITEM "~Code information", IDM_HELPPRODUCTINFO, MIS_TEXT
}
}
ACCELTABLE IDR_MAIN
{
VK_DELETE, IDM_TERMIN8, VIRTUALKEY, ALT
}
STRINGTABLE
{
IDS_APPNAME "Start Application Sample Program"
IDS_FILEOPENEXT "*.TXT"
IDS_HELPLIBRARYNAME "STARTAPP.HLP"
IDS_OPEN "Open"
IDS_HELPWINDOWTITLE "StartApp Help"
IDS_SAVE "Save"
IDS_UNTITLED "Untitled"
IDS_TITLEBARSEPARATOR " - "
IDS_OBJECTCLASS "Object Class"
}
MESSAGETABLE
{
IDMSG_INITFAILED "Initialization failed."
IDMSG_MAINWINCREATEFAILED "Failed to create main window."
IDMSG_CANNOTOPENINPUTFILE "Cannot open input file."
IDMSG_CANNOTOPENOUTPUTFILE "Cannot open output file."
IDMSG_CANNOTRUNCOLOR "Cannot run Color dialog."
IDMSG_CANNOTGETHPS "Cannot get HPS for window."
IDMSG_HELPLOADERROR "Failed to load help manager."
IDMSG_CANNOTLOADSTRING "Failed to load string."
IDMSG_CANNOTOPENPRINTER "Failed to open printer."
IDMSG_HELPDISPLAYERROR "Failed to display help panel."
IDMSG_CANNOTLOADEXITLIST "Cannot load Exit List processor."
IDMSG_PRINTINITFAILED "Printer initialization failed."
IDMSG_OVERWRITEFILE "The file exists. Do you want to overwrite it?"
IDMSG_PRINTERROR "Error while printing. Printing aborted."
IDMSG_UNDOFAILED "Failed to Undo."
IDMSG_CANNOTGETFILEINFO "Error getting file information."
IDMSG_CANNOTALLOCATEMEMORY "Not enough memory."
IDMSG_CANNOTREADFILE "Error reading file."
IDMSG_CANNOTWRITETOFILE "Error writing file."
IDMSG_CANNOTLOADFONTS "Cannot load fonts."
IDMSG_CANNOTGETPAGEINFO "Error obtaining printer page information."
IDMSG_YOURTUTORIAL "Your tutorial can replace this message."
}
BITMAP IDR_BITMAP prodinfo.bmp
/* include dialog templates created by dialog editor */
rcinclude startapp.dlg
rcinclude help.rc
/*************************** End of main.rc ****************************/