home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
IOC
/
MSGBOX
/
MSGBOX.RC
< prev
next >
Wrap
Text File
|
1995-05-01
|
2KB
|
40 lines
/*****************************************************************************
* FILE NAME: msgbox.rc (Message Box Sample Program) *
* *
* COPYRIGHT: Copyright (C) International Business Machines Corp., 1992,1995. *
* *
* DISCLAIMER OF WARRANTIES: *
* The following [enclosed] code is sample code created by IBM *
* Corporation. This sample code is not part of any standard IBM product *
* and is provided to you solely for the purpose of assisting you in the *
* development of your applications. The code is provided "AS IS", *
* without warranty of any kind. IBM shall not be liable for any damages *
* arising out of your use of the sample code, even if they have been *
* advised of the possibility of such damages. *
*****************************************************************************/
//NOTE: WE RECOMMEND USING A FIXED-SPACE FONT TO LOOK AT THE SOURCE.
#include "msgbox.h" //Symbolic definitions
ICON WND_MAIN msgbox.ico
//**************************************************************************
// string resources - Used as the messages in the message boxes *
// symbolic name (ID) <-> text string *
//**************************************************************************
STRINGTABLE
BEGIN
WND_MAIN, "Message Box Sample"
MSGBOX_TITLE, "Message Box"
STR_HELPT, "Help for Message Box Help Button"
MSGBOX_OKCANCEL, "okCancelButton, informationIcon"
MSGBOX_OKWARNING, "okButton, warningIcon"
MSGBOX_CANCELERROR, "cancelButton, errorIcon"
MSGBOX_YESNOCANCEL, "yesNoCancelButton, queryIcon"
MSGBOX_YESNOCANCELHELP, "yesNoCancelButton with helpId, moveable, queryIcon"
MSGBOX_SYSMODAL, "enterButton, systemModal, errorIcon"
MSGBOX_CONTINUE, "Loop through the message boxes again?"
MSGBOX_END, "To end the program, press alt-F4 or select Close from the system menu."
STR_HELP_NOT_FOUND, "Help file not found. Help is not available."
END