home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
IOC
/
HELLO3
/
AHELLOW3.RC
< prev
next >
Wrap
Text File
|
1995-04-07
|
4KB
|
56 lines
/******************************************************************************/
/* HELLO WORLD SAMPLE PROGRAM - Version 3: Resource Definitions (ahellow3.rc) */
/* */
/* 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. */
/******************************************************************************/
#include "ahellow3.h" //Symbolic definitions v3
//************************************************************************** V2
// icon and bitmap resources * V2
// Relate symbolic name to file containing main window icon. * V2
//************************************************************************** V2
ICON WND_MAIN ahellow3.ico //Application icon v3
//************************************************************************** V2
// string resources * V2
// Relate symbolic names to literal text strings. * V2
//************************************************************************** V2
STRINGTABLE
BEGIN
STR_HELLO, "Hello, World!!!" //Hello World string V2
WND_MAIN, "Hello World Sample - Version 3" //Main window title string v3
STR_INFO, "Use Alt-F4 to Close Window" //Information area string V2
MI_ALIGNMENT,"Alignment Menu" //InfoArea - Alignment menu V3
MI_CENTER, "Set Center Alignment" //InfoArea - Center menu item V3
MI_LEFT, "Set Left Alignment" //InfoArea - Left menu item V3
MI_RIGHT, "Set Right Alignment" //InfoArea - Right menu item V3
STR_CENTER, "Center Alignment" //Status line text - Center V3
STR_LEFT, "Left Alignment" //Status line text - Left V3
STR_RIGHT, "Right Alignment" //Status line text - Right V3
END
//************************************************************************** V3
// Menu bar for main window - used by IMenuBar Class * V3
// Define menu bar layout and relate symbolic names to menu item strings.* V3
//************************************************************************** V3
MENU WND_MAIN //Main window menu bar V3
BEGIN
SUBMENU "~Alignment", MI_ALIGNMENT //Alignment submenu V3
BEGIN
MENUITEM "~Left", MI_LEFT //Left menu item - F7 Key V3
MENUITEM "~Center", MI_CENTER //Center menu item - F8 Key V3
MENUITEM "~Right", MI_RIGHT //Right menu item - F9 Key V3
END
END