home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
VSCPPv8.zip
/
VACPP
/
IBMCPP
/
samples
/
IOC
/
HELLO6
/
AHELLOW6.HLP
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1995-05-31
|
7KB
|
223 lines
ΓòÉΓòÉΓòÉ 1. C++ Hello World - Application Help ΓòÉΓòÉΓòÉ
This file contains the help for the C++ Hello World Application.
ΓòÉΓòÉΓòÉ 1.1. C++ Hello World - Main Window Help ΓòÉΓòÉΓòÉ
This is the help panel for the main window. The main window contains the
following areas:
The title bar icon, which provides access to the system menu
The window title, which displays the title of the window
The menu bar, which allows the user to select specific actions
A status line, which contains the current alignment
A client area, which is divided into three areas:
- The first area contains the static text for "Hello, World!!!".
- The second area is a graphic control that shows a graphic of the
Earth from space with stars.
- The third area contains a list box that allows the user to change
the "Hello, World!!!" text string.
Alignment push buttons, which change the alignment, and a help push
button, which is used to request help
An information area, which helps the user understand the current options
of the program, including the menu bar choices
ΓòÉΓòÉΓòÉ 1.2. C++ Hello World - List Box Help ΓòÉΓòÉΓòÉ
This is the help panel for the list box window. Selecting any item in the list
box changes the "Hello, World!!!" text. The code that handles the list box can
be found in ahellow6.cpp.
ΓòÉΓòÉΓòÉ 1.3. C++ Hello World - Edit Menu Help ΓòÉΓòÉΓòÉ
This is the help panel for the Edit menu.
This submenu (MI_EDIT) can be found under the following statement in the
resource file (ahellow6.rc):
SUBMENU "~Edit", MI_EDIT //Edit submenu
This help panel (id=110) was linked to the menu item (MI_EDIT) by the following
statement in the resource file (ahellow6.rc):
HELPSUBITEM MI_EDIT, 110 //Edit menu item help ID
ΓòÉΓòÉΓòÉ 1.3.1. C++ Hello World - Alignment Menu Help ΓòÉΓòÉΓòÉ
This is the help panel for the Alignment menu item.
This submenu (MI_ALIGNMENT) can be found under the following statement in the
resource file (ahellow6.rc):
SUBMENU "~Alignment", MI_ALIGNMENT //Alignment submenu
This help panel (id=111) was linked to the menu item (MI_ALIGNMENT) by the
following statement in the resource file (ahellow6.rc):
HELPSUBITEM MI_ALIGNMENT, 111 //Alignment menu item help ID
ΓòÉΓòÉΓòÉ 1.3.1.1. C++ Hello World - Left Command Help ΓòÉΓòÉΓòÉ
This is the help panel for the Left alignment command. Selecting the Left menu
item or Left push button sets the "Hello, World!!!" text to be left aligned.
This menu item (MI_LEFT) was created by the following statement in the resource
file (ahellow6.rc):
MENUITEM "~Left\tF7", MI_LEFT //Left menu item - F7 key
The code that handles this menu item can be found in ahellow6.cpp under the
following case statement:
case MI_LEFT:
This help panel (id=112) was linked to the menu item (MI_LEFT) by the following
statement in the resource file (ahellow6.rc):
HELPSUBITEM MI_LEFT, 112 //Left command help ID
ΓòÉΓòÉΓòÉ 1.3.1.2. C++ Hello World - Center Command Help ΓòÉΓòÉΓòÉ
This is the help panel for the center alignment command. Selecting the Center
menu item or Center push button sets the "Hello, World!!!" text to be center
aligned.
This menu item (MI_CENTER) was created by the following statement in the
resource file (ahellow6.rc):
MENUITEM "~Center\tF8", MI_CENTER //Center menu item - F8 key
The code that handles this menu item can be found in ahellow6.cpp under the
following case statement:
case MI_CENTER:
This help panel (id=113) was linked to the menu item (MI_CENTER) by the
following statement in the resource file (ahellow6.rc):
HELPSUBITEM MI_CENTER, 113 //Center command help ID
ΓòÉΓòÉΓòÉ 1.3.1.3. C++ Hello World - Right Command Help ΓòÉΓòÉΓòÉ
This is the help panel for the right alignment command. Selecting the Right
menu item or Right push button sets the "Hello, World!!!" text to be right
aligned.
This menu item (MI_RIGHT) was created by the following statement in the
resource file (ahellow6.rc):
MENUITEM "~Right\tF9", MI_RIGHT //Right menu item - F9 key
The code that handles this menu item can be found in ahellow6.cpp under the
following case statement:
case MI_RIGHT:
This help panel (id=114) was linked to the menu item (MI_RIGHT) by the
following statement in the resource file (ahellow6.rc):
HELPSUBITEM MI_RIGHT, 114 //Right command help ID
ΓòÉΓòÉΓòÉ 1.3.2. C++ Hello World - Text... Menu Help ΓòÉΓòÉΓòÉ
This is the help panel for the Text... menu item.
This menu item (MI_TEXT) was created by the following statement in the resource
file (ahellow6.rc):
MENUITEM "~Text...", MI_TEXT //Text dialog menu item
The code that handles this menu item can be found in ahellow6.cpp under the
following case statement:
case MI_TEXT:
This help panel (id=199) was linked to the menu item (MI_TEXT) by the following
statement in the resource file (ahellow6.rc):
HELPSUBITEM MI_TEXT, 199 //Text command help ID
ΓòÉΓòÉΓòÉ 1.4. C++ Hello World - Dialog Window Help ΓòÉΓòÉΓòÉ
This is the help panel for the text dialog.
ΓòÉΓòÉΓòÉ 1.4.1. C++ Hello World - Dialog Combination Box Help ΓòÉΓòÉΓòÉ
This is the help panel for the combination box in the text dialog.
The combination box is defined as textField in adialog6.hpp and is initialized
and handled by code found in adialog6.cpp.
This help panel (id=201) was linked to this entry field (DID_ENTRY) by the
following statement in the resource file (ahellow6.rc):
HELPSUBITEM DID_ENTRY, 201 //Entry field help ID
ΓòÉΓòÉΓòÉ 1.4.2. C++ Hello World - Dialog OK Button Help ΓòÉΓòÉΓòÉ
This is the help panel for the OK push button in the text dialog. Selecting
this push button closes the dialog. Any changes made to the "Hello, World!!!"
text are shown in the main window.
The OK push button is defined as pushButton1 in adialog6.hpp and is initialized
and handled by code found in adialog6.cpp.
This help panel (id=202) was linked to this push button (DID_OK) by the
following statement in the resource file (ahellow6.rc):
HELPSUBITEM DID_OK, 202 //OK command help ID
ΓòÉΓòÉΓòÉ 1.4.3. C++ Hello World - Dialog Cancel Button Help ΓòÉΓòÉΓòÉ
This is the text for the Cancel push button in the text dialog. Selecting this
button closes the dialog without changing the "Hello, World!!!" text.
The Cancel push button is defined as pushButton2 in adialog6.hpp and is
initialized and handled by code found in adialog6.cpp.
This help panel (id=203) was linked to this push button (DID_CANCEL) by the
following statement in the resource file (ahellow6.rc):
HELPSUBITEM DID_CANCEL, 203 //Cancel command help ID
ΓòÉΓòÉΓòÉ 1.5. C++ Hello World - Keys Help Panel ΓòÉΓòÉΓòÉ
This is the keys help panel.
The following is a list of system-provided keys:
Alt-F4 Close window
Alt-F7 Move window
Alt-F8 Size window
Alt-F9 Minimize window
Alt-F10 Maximize window
The following is a list of application-provided keys:
F7 Left alignment
F8 Center alignment
F9 Right alignment