home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
SAMPLES
/
ICLUI
/
HELLO6
/
AHELLOW6.IPF
< prev
next >
Wrap
Text File
|
1993-10-19
|
12KB
|
306 lines
:userdoc.
:docprof toc=123456.
:title.C++ Hello World Help
:h1.C++ Hello World - Application Help
:p.This file contains the help for the C++ Hello World Application.
:h2 res=100.C++ Hello World - Main Window Help
:i1.Main Window Help
:p.This is the help panel for the main window.
The main window contains the following areas:
:ul.
:li.The title bar icon, which provides access to the system menu.
:li.The window title, which displays the title of the window.
:li.The menu bar, which allows the user to select specific actions.
:li.A status line, which contains the current alignment.
:li.A client area, which is divided into three areas:
:ul.
:li.The first area contains the static text for "Hello, World".
:li.The second area is a graphic control that shows a graphic of the world
from space with stars.
:li.The third area contains a list box that allows the user to change the
"Hello, World" text string.
:eul.
:li.Alignment push buttons, which change the alignment, and a help push
button, which is used to request help.
:li.An information area, which helps the user understand the current options
of the program, including the menu bar choices.
:eul.
:h2 res=102.C++ Hello World - List Box Help
:p.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.
:h2 res=110.C++ Hello World - Edit Menu Help
:p.This is the help panel for the Edit menu.
:p.
This submenu (MI_EDIT) can be found under the following statement in the
resource file (AHELLOW6.RC):
:xmp.
SUBMENU "~Edit", MI_EDIT //Edit Submenu
:exmp.
:p.
This help panel (id=110) was linked to the menu item (MI_EDIT)
by the following statement in the resource file (AHELLOW6.RC):
:xmp.
HELPSUBITEM MI_EDIT, 110 //Edit Menu
:exmp.
:h3 res=111.C++ Hello World - Alignment Menu Help
:i1 id=align.Alignment Help
:p.This is the help panel for the Alignment menu item.
:p.
This submenu (MI_ALIGNMENT) can be found under the following statement in the
resource file (AHELLOW6.RC):
:xmp.
SUBMENU "~Alignment", MI_ALIGNMENT //Alignment Submenu
:exmp.
:p.
This help panel (id=111) was linked to the menu item (MI_ALIGNMENT)
by the following statement in the resource file (AHELLOW6.RC):
:xmp.
HELPSUBITEM MI_ALIGNMENT, 111 //Alignment Menu
:exmp.
:h4 res=112.C++ Hello World - Left Command Help
:i2 refid=align.Left Alignment
:p.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.
:p.
This menu item (MI_LEFT) was created by the following statement in the
resource file (AHELLOW6.RC):
:xmp.
MENUITEM "~Left\tF7", MI_LEFT //Left Menu Item - F7 Key
:exmp.
:p.
The code that handles this menu item can be found in AHELLOW6.CPP under the
following case statement:
:xmp.
case MI_LEFT: //Code to Process Left Command Item
:exmp.
:p.
This help panel (id=112) was linked to the menu item (MI_LEFT)
by the following statement in the resource file (AHELLOW6.RC):
:xmp.
HELPSUBITEM MI_LEFT, 112 //Left Menu Item
:exmp.
:h4 res=113.C++ Hello World - Center Command Help
:i2 refid=align.Center Alignment
:p.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.
:p.
This menu item (MI_CENTER) was created by the following statement in the
resource file (AHELLOW6.RC):
:xmp.
MENUITEM "~Center\tF8", MI_CENTER //Center Menu Item - F8 Key
:exmp.
:p.
The code that handles this menu item can be found in AHELLOW6.CPP under the
following case statement:
:xmp.
case MI_CENTER: //Code to Process Center Command Item
:exmp.
:p.
This help panel (id=113) was linked to the menu item (MI_CENTER)
by the following statement in the resource file (AHELLOW6.RC):
:xmp.
HELPSUBITEM MI_CENTER, 113 //Center Menu Item
:exmp.
:h4 res=114.C++ Hello World - Right Command Help
:i2 refid=align.Right Alignment
:p.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.
:p.
This menu item (MI_RIGHT) was created by the following statement in the
resource file (AHELLOW6.RC):
:xmp.
MENUITEM "~Right\tF9", MI_RIGHT //Right Menu Item - F9 Key
:exmp.
:p.
The code that handles this menu item can be found in AHELLOW6.CPP under the
following case statement:
:xmp.
case MI_RIGHT: //Code to Process Right Command Item
:exmp.
:p.
This help panel (id=114) was linked to the menu item (MI_RIGHT)
by the following statement in the resource file (AHELLOW6.RC):
:xmp.
HELPSUBITEM MI_RIGHT, 114 //Right Menu Item
:exmp.
:h3 res=199.C++ Hello World - Text... Menu Help
:p.This is the help panel for the Text... menu item.
:p.
This menu item (MI_TEXT) was created by the following statement in the
resource file (AHELLOW6.RC):
:xmp.
MENUITEM "~Text...", MI_TEXT //Text Menu Item
:exmp.
:p.
The code that handles this menu item can be found in AHELLOW6.CPP under the
following case statement:
:xmp.
case MI_TEXT: //Code to Process Text Command
:exmp.
:p.
This help panel (id=199) was linked to the menu item (MI_TEXT)
by the following statement in the resource file (AHELLOW6.RC):
:xmp.
HELPSUBITEM MI_TEXT, 199 //Right Menu Item .
:exmp.
:h2 res=200.C++ Hello World - Dialog Window Help
:p.This is the help panel for the text dialog.
:h3 res=201.C++ Hello World - Dialog Entry Field Help
:p.This is the help panel for the entry field in the text dialog.
:p.
This entry field was defined by the following statement in the dialog
resource file (ADIALOG6.DLG):
:xmp.
ENTRYFIELD "", DID_ENTRY, 8, 44, 114, 8, ES_MARGIN
:exmp.
:p.
The application code that handles this entry field can be found in
ADIALOG6.CPP.
:p.
This help panel (id=201) was linked to this entry field (DID_ENTRY)
by the following statement in the resource file (AHELLOW6.RC):
:xmp.
HELPSUBITEM DID_ENTRY, 201 //Entry Field <-> Help ID 201
:exmp.
:h3 res=202.C++ Hello World - Dialog OK Button Help
:p.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.
:p.
The OK push button is defined by the following statement in the dialog
resource file (ADIALOG6.DLG):
:xmp.
DEFPUSHBUTTON "OK", DID_OK, 6, 4, 40, 14
:exmp.
:p.
The application code that handles this push button field can be found
in ADIALOG6.CPP.
:p.
This help panel (id=202) was linked to this entry field (DID_OK)
by the following statement in the resource file (AHELLOW6.RC):
:xmp.
HELPSUBITEM DID_OK, 202 //OK Button <-> Help ID 202
:exmp.
:h3 res=203.C++ Hello World - Dialog Cancel Button Help
:p.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.
:p.
The Cancel push button is defined by the following statement in the dialog
resource file (ADIALOG6.DLG):
:xmp.
PUSHBUTTON "Cancel", DID_CANCEL, 49, 4, 40, 14
:exmp.
:p.
The application code that handles this push button field can be found
in ADIALOG6.CPP.
:p.
This help panel (id=203) was linked to this entry field (DID_CANCEL)
by the following statement in the resource file (AHELLOW6.RC):
:xmp.
HELPSUBITEM DID_CANCEL, 203 //OK Button <-> Help ID 203
:exmp.
:h2 res=300.C++ Hello World - Color Notebook Help
:p.The Color Notebook contains two pages.
:ul.
:li.Page one allows the user to change the color of the "Hello, World" text.
:li.Page two allows the user to change the color of the List Box text.
:eul.
:p.
After selecting the color via the radio buttons, the user has two choices:
:ul.
:li.Apply the changes by using the apply button. Note, this will
not close the window.
:li.Cancel and close the window.
:eul.
:h2 res=301.C++ Hello World - Notebook Apply Button Help
:p.This is the text for the Apply push button on the "Hello World Color"
notebook page. This pushbutton lets the user change the color of the
"Hello, World" text.
:note.This will not close the window.
:h2 res=302.C++ Hello World - Notebook Cancel Button Help
:p.This is the text for the Cancel push button on the "Hello World Color"
notebook page. This pushbutton lets the user close the C++ Hello World
Color Window without changing the color of the "Hello, World" text.
:h2 res=303.C++ Hello World - Notebook Color Radio Button Help
:p.This is the text for the color radio buttons on the "Hello World Color"
notebook page. These radio buttons allow the user to select the
color of the "Hello, World" text.
:h2 res=304.C++ Hello World - Notebook Apply Button Help
:p.This is the text for the Apply push button on the "List Box Color"
notebook page. This pushbutton lets the user change the color of the
list box text.
:note.This will not close the window.
:h2 res=305.C++ Hello World - Notebook Cancel Button Help
:p.This is the text for the Cancel push button on the "List Box Color"
notebook page. This pushbutton lets the user close the C++ Hello World
Color Window without changing the color of the list box text.
:h2 res=306.C++ Hello World - Notebook Color Radio Button Help
:p.This is the text for the color radio buttons on the "List Box Color"
notebook pages. These radio buttons allow the user to select the
color of the list box text.
:h2 res=400.C++ Hello World - Demo Speed Help
:p.This window allows the user to change the demo speed.
:p.
After selecting the speed via the slider, the user has two choices:
:ul.
:li.Apply the changes by using the Apply push button.
:note.This will not close the window.
:li.Cancel and close the window.
:eul.
:h2 res=401.C++ Hello World - Slider Speed Help
:p.The slider allows the user to change the demo speed.
Each number on the slider represents the number of seconds that pass
between demo "operations".
An "operation" is one event that the user can perform, such as
aligning the text, changing the color of the text, or resizing one of
the split canvas panes.
:p.
Moving the slider to 1 changes the demo to execute an "operation"
every second.
This is the fastest speed.
:p.
Moving the slider to 5 will change the demo to execute an "operation"
once every 5 seconds.
This is the slowest speed.
:p.
The user can also select 2-4 seconds between each "operation".
:p.
After selecting the speed via the slider, the user has two choices:
:ul.
:li.Apply the changes by using the Apply push button.
:note.This will not close the window.
:li.Cancel and close the window.
:eul.
:h2 res=1000.C++ Hello World - Keys Help Panel
:i1.Keys Help Panel
:p.This is the keys help panel.
:p.The following is a list of system-provided keys:
:dl compact tsize=10.
:dt.Alt-F4
:dd.Close window.
:dt.Alt-F7
:dd.Move window.
:dt.Alt-F8
:dd.Size window.
:dt.Alt-F9
:dd.Minimize window.
:dt.Alt-F10
:dd.Maximize window.
:edl.
:p.The following is a list of application-provided keys:
:dl compact tsize=10.
:dt.F7
:dd.Left alignment.
:dt.F8
:dd.Center alignment.
:dt.F9
:dd.Right alignment.
:edl.
:euserdoc.