  This section is comments, since it is before
any ">". The code is "> sec,num,text"
where the ">" is a marker to the program, the
sec is a number starting with 1 that tells which
division in help menu is called, num tells what
kind of msg box to use (must in CQPWIN be 0 (OK
button) or 1 (OK, Cancel buttons) and text is
string printed as msg box title.  File works
well if it's in WP for Windows, courier 10cpi,
with margins at .26" left and 3.44" right. 
Eliminate all hard returns in the middle of text
lines.  Save as an ASCII text file.

>1,0,Command Summary
  Major command recognized by CQPWIN (see Full
Instructions help for more detail):

F1-F7 -- Send CW Macros 1-7
F8 -- Partial Search on chars entered in call    
   box
F9 -- (WPX only) prefix search 

<CTRL-right, left arrow> -- Change mode (CQP      
  only)
<CTRL-Up, Dn arrow> -- Change band
INSERT -- send CW exchange
PLUS, MINUS -- CW speed up/dn 2 wpm while        
  sending
ESC -- Kill CW
    -- Kill entry
>2,1, Instructions 
           CQPWIN PROGRAM INSTRUCTIONS
             (c) by Andrew L. Faber, AE6Y

             Version 3.0     Sept. 10, 1994

                  INTRODUCTION.

    CQPWIN is a Windows program based on the
AE6Y CQP DOS program originally designed  for
logging the California QSO party.  Version 5.0
of the DOS program also works for the WPX and SS
contests, and CQPWIN, version 3.0, incorporates
most all the features of that program, plus some
additions.

    The program  dupes contacts, keeps
the log, displays and keeps track of
multipliers, band/mode QSO's, rates and score,
and can generate ASCII files for the log, dupe
sheets, and summary sheets (using companion DOS
program called CQPAFT20.exe).
>
   CQPWIN is designed to run on IBM-compatible 
computers with color displays and a hard drive.
Each QSO and any change in parameters is 
immediately written to disk.  Windows 3.1 is
required.

        COMMENTS, BUGS, SUGGESTIONS

        Please direct all comments, suggestions,
notices of bugs, etc. to the author, AE6Y: 
Andrew L. Faber, 16321 Ridgecrest Avenue, Monte
Sereno, CA  95030.  Tel:  (408) 395-9193.

        DISCLAIMER OF WARRANTY.  This software
is provided "AS IS" without any warranty as to
performance, merchantability, or fitness for the
intended use.  Please test the program
thoroughly before relying upon it.  The user
must assume the complete risk of using this
program.

>3,1, Getting Started 
                  GETTING STARTED

   Several files needed to run the program
should be istalled in the same directory, and a
PIF program created to start the executable
file, CQPWIN30.EXE (or it can be run straight from
Program Manager).  The Files are:

 CQPWIN30.EXE -- The Executable program
 CQPWIN20.INI -- Initiation and Setup file
 CQPWIN.DAT   -- Data file
 CQPWIN30.HLP -- Help text file
 VBRUN200.DLL -- Visual Basic Runtime support
                 file
  Note: VBRUN200.DLL must be installed in the
WINDOWS/SYSTEM subdirectory on hard disk.
>
  Three sample log files are also on the
distribution disk: 50CQP.CQP for CQP Contest,
50SS.CQP for SS contest, and 50WPX.CQP for
WPX.  Each contact is stored in the log file 
in a compressed form 26 bytes long.  The
entire binary log file is read into memory 
and stored in an array that is 26 bytes 
long per contact.  Max log size in this version
is 2400 contacts. Each log file also has a 26-byte
header describing the contest type.
>
        Upon starting the program, you will get
a Welcome screen that prompts you to load a new
log file or open an existing file. Upon opening
a file for CQP, you will see three windows on the
screen: a primary one, entitled "Logging window"
is at the lower right-hand corner, and is where
most of the action takes place. A "Multipliers"
window contains a list of either the 58
California counties or the 58 states/provinces
that are valid multipliers, depending on whether
you are located outside of or inside of
California.  When the log file is read in, the
multipliers that have already been worked are
highlighted.  New multipliers are highlighted as
they are worked.
    If you are in CQP as an in-California station,
you can open a window with the official abbreviations
for the California counties, by clicking on the Window
menu.
    For WPX, the Multipliers window shows prefixes
as they are worked, while for SS, it shows the 77
SS ARRL Sections that are the SS multipliers. 
 >    
    The window entitled "QSO Stats"
is initiated at startup with band/mode totals
and other stats and rates.  It is updated after
each qso.  Total time is computed, with breaks
counted if greater than 15 minutes (CQP), 30
minutes (SS), or 60 minutes (WPX).

  A fourth window is opened for CW contests, and 
can be opened from the Window menu
in SSB contests.  It is entitled  "CW Macros", 
and contains short display forms of the seven CW
messages that can be sent with keys F1 through F7.

   Note that upon exiting you can save the screen 
positions of the four windows, separately for each
type of contest.  

>4,1, Setup
       CHANGING SETUP OPTIONS

  The Files menu option "Setup" opens a window to
change setup options.  These options are as
follows:

   A. Beep for Dupe.  Tells the program whether
to give a beep when a dupe is encountered.

   B. Your callsign.  Enter your call, to be
used in CW macros.
>
   C. Backup drive.  Choose A or B for floppy
disk backups.  Choosing "BACKUP" from the Files
Menu will cause the program to save the log file
to the designated drive.

   D. CW Options.  The next four options relate
to CW sending.  Choose whether to activate CW
sending at all, and whether to activate
autoduping (i.e., sending a DUPE message
automatically when INSERT key is pressed if
station is a dupe). Choose a com port for keying
(NB: This version allows only COM1 and COM2,
even though LPT1 and LPT2 are listed). Last, the
keyweight scroll bar allows the dash/dot
ratio to be changed from 2.0 to 1 to 4.5 to 1
(default is 3.0 to 1).
>
   E. MULTIPLIER NAMES.  The file CQPWIN.DAT 
contains the multiplier names for CQP and
SS multipliers (first the 58 states and provinces 
for CQP, then the 58 Calif. counties for CQP, then 
the 77 SS multipliers). Each official multiplier 
can be followed by up to two other abbreviations 
that will be recognized by the program (e.g., if
you type VE3 as a CQP or SS mult, the program 
automatically converts it to the official form: 
ONT for CQP and ON for SS). 

   You can edit this file, CAREFULLY, with an 
ASCII text editor (e.g., Windows' Notepad), 
subject to the following caveats: (i) Mults must 
be between 2 and five characters long, and 
consist of only letters or letters plus one 
number at the end only; (ii)  separate the 
abbreviations for each mult by slashes, (e.g., 
"QUE/PQ/VE2") and the mults from each other by 
commas, with no blank lines in the file.  DON'T
MESS WITH THE OTHER DATA IN THE FILE, AND SAVE 
THE OLD FILE BEFORE EDITING!!

>5,1,Logging

        LOGGING CONTACTS

        There are three fields (CQP contest) or
two fields (SS and WPX)  for logging the
call and the received information. 
You move between the fields by pressing the
space bar (CQP, WPX only) or TAB key.  In addition,
you can go from the callsign field to the number
field by pressing INSERT in a CW contest. This
will also send the CW exchange, if activated.
Pressing ENTER logs the contact. Error checking is
done to requre a number in CQP and WPX, and a valid
exchange in SS.
>
   Some features of the logging window:

   A. Duping.  Every time you leave the callsign
field, the log in memory is duped for that call. 
If the station has been worked on other
band/modes, then the QSO numbers of those
contacts are displayed as well as the
multiplier (CQP).  If it has been worked
on the current band/mode (CQP, WPX) or at
all (SS), a dupe message appears.  If
you wish to log the station anyway (with zero
points), click on the YES button. Pressing ENTER
or ESC erases the contact and starts over.

     A separate file is kept of portable stations
worked, and every call is checked against this list.
If you enter a portable as a nonportable or vice versa
then you are notified that the station is in the
log the other way.  The calls are also duped against
portables and nonportables (e.g., if AE6Y is in the
log, then AE6Y/7 will be seen as a dupe).
>
   B. Partial search.  If you enter just a few
letters of a call sign and press F8, you'll get
a display of all matches existing in the log. 
Matches on the current band/mode are
highlighted (not in SS).  Hit escape key to clear. 
The search screen only shows 14 hits, and does
not indicate whether more might be found.  If
only one call is found and it's needed on
current band/mode, it will be put in callsign
window and its multiplier in the multiplier
window. Clicking on any call will put it in
Callsign window.
>
  C. Errors.  If you've made a mistake logging,
there are two alternatives:  you can simply
delete the last entry by hitting <ALT-Y>
(actually the last entry isn't physically
deleted, but is made available to be written
over by the next contact).  Deleting the last
contact will reset the QSO number displayed on
the screen, but will not change the band/mode
totals, nor will it affect the multiplier
display.  These displays can be updated if
necessary by quitting the program and restarting
after you have written over the deleted contact
(or choose "Open File" from the File Menu and 
reopen the same log). An alternative is to 
Choose "Log Entries" from the Edit menu to enable 
editing of the entire log.  
>
  D. Changing band/mode.  The current band/mode
is shown in the Logging window.  Change bands by
holding down the CTRL key and tapping up or down
arrow keys.  Change modes (in CQP only) by
holding down the CTRL key and tapping the right
or left arrow keys. Choosing SELECT BANDS from
the BANDS menu lets you limit the active bands
in the contest.

  E. Date/time.  CQPWIN inserts the date and time
as read from the computer's date/time chip. If you
blow the conversion to UTC, the day portion of the date
field can also be edited, as can the time. 

>6,1, CW Operations

                   SENDING CW

   Like CT and other contest logging programs,
this version of CQPWIN sends CW out the serial 
ports of the computer directly to the
transmitter.  The parallel ports (LPT1 and LPT2)
cannot be used in this version.  You must use
the same type of transistor switching circuit as
CT to key the transmitter.  The computer's
speaker cannot be activated in this version. 

  N.B. Windows Quirks.  If you move the mouse
while transmitting, the code will be messed up
slightly, so hands off!
>

  A. Changing CW macros.  Choose CW MACROS  from
the Edit menu to display the edit screen that
allows the seven CW macros to be changed at
will.  There are also short display forms of
each macro that are shown in the CW MACROS
window  on the screen, and these can be edited
as well.  In addition, two CW exchange messages
and the dupe message are shown.  The first
exchange will be sent if the insert key is
pressed before a multiplier number has been
entered in the number field (i.e., when you are
in the CQ mode). The second exchange will be
sent if a number has already been entered (i.e.,
you are in the search-and-pounce mode).  Note
that special characters can be used to stand for
his call, your call, QSO number, and a "short"
word space.
>
  B. Stopping sending.  Press ESC to interrupt
CW sending.

  C. Changing CW speed.  Use the scroller in the
Log Window to change CW speed from 18 to 50 wpm. 
Similarly, hitting the plus or minus keys while
sending raises/lowers the speed respectively by
two wpm.  The dash/dot ratio can be change from
the Setup screen.  Using a plus sign or minus
sign  in a CW Macro will cause the following
characters to be speeded up or slowed down by 5
wpm.  Multiple plus or minus signs can be used. 
Minus signs aren't needed at the end of such a
message to restore the starting speed.

  D. Sending dupe messages.  The program
normally will send the dupe message
automatically if INSERT is pressed and the QSO
is a dupe.  Disable or reenable this feature
from the Setup option in the Files menu.

>7,1,CQP Contest Tips

             TIPS -- CQP CONTEST

   A peculiarity of the CQP contest is that
out-of-state stations can rework a California
station on a given band/mode if that station has
changed counties.  Furthermore, a station
located on a county line can be worked for
credit for two multipliers. These are handled 
as follows:

   A. Station on county line.  Enter the contact
normally using one of the counties as a
multiplier.  Then immediately enter another QSO
using the second county as a multiplier.  The
second one will be treated as a dupe
automatically for zero QSO points.
>
  B. Station changing counties.  Here simply log
two separate QSOs.  The program will,
erroneously, treat the second one as a dupe, and
you will have to edit the log afterwards to show
the proper points for the QSO.

  C. California as a multiplier for California
stations.  California stations working other
California stations are supposed to log the
received station's county as part of the
exchange.  The program will automatically
compare each multiplier with the list of
California counties, and the first time a valid
California county is worked, it will indicate
that the "CA" state multiplier has been worked.

>8,1,SS Contest Tips
  
                TIPS -- SS CONTEST

  A.  Display.  The Logging window contains two
boxes: for call and exchange.  Type the whole
received exchange in the exchange window, and
the program will parse it into number,
precedence, check number and section.  If you
type in the callsign as part of the exchange,
the program ignores it unless it differs from the
callsign in the call window.  If it does, then the
callsign in the exhange window is assumed to be the
correct one, and it is duped, then logged when ENTER
is pressed.  This makes it very easy to log stns,
since you can reply to a partial call in the call
box, then correct it when the other station sends his
exchange, without bothering to correct it in the call
box.

>
     Note that,unlike in  CQP and WPX, if
the space bar is pressed in the Exchange box, it
will insert a space (for legibility). The exchange
is checked for valid entries. To go back to the 
Callsign box, use TAB, or click on it.  
The Multipliers box has the 77 SS multipliers, 
arranged by call areas.

  B.  Post-contest Files.  One master dupe sheet
is prepared, since dupes aren't allowed on other
bands.

>9,1,WPX Contest Tips

               TIPS -- WPX CONTEST

  CQPWIN also supports the CQ Magazine WPX
contest. Changes to the basic operation are :

  A.  Display.  The logging box contains only
two entry windows, for callsign and received QSO
number.  The Rates box computes points per
QSO, instead of the ratio of SSB to CW
QSO's.  The multiplier box is replaced by a box
for checking/displaying prefixes.
>
  B.  Prefix checking.  Prefixes worked are
displayed in the prefix box.  Typing a full or
partial call and pressing F9 will display all
prefixes worked starting with those characters
(e.g., "JR" -F9 displays JR0, JR1, etc.).  If
it hasn't been worked, a message so indicates. 

  C.  Post-contest files.  After the contest,
check for proper scoring of all contacts (e.g.,
a KG4 station is zero points in Florida, but 2
points on Guantanamo).  The postcontest processing
program CQPAFT20.exe will create the same files 
(with the log file in proper form) as for the CQP 
contest, plus a prefix list file with the 
extension .PFX. 

>10,1, PostContest Log Processing

   POSTCONTEST LOG PROCESSING

    After the contest, exit CQPWIN and load the 
companion DOS program CQPAFT20.exe (i.e., type 
CQPAFT20 <ENTER> at the DOS prompt. That program 
will prompt you for the log file (or you can enter
it on the command line, as with CQP50). Read your 
log into the program and pick one or more options 
from the main menu by pressing the letter in 
parenthesis for the desired action. 
Options are:
>
       A. LOG FILE. This will create a file in 
the form of an ASCII text file called FILEID.ASC 
that should be readable by any word processor, 
and is acceptable for submission to contest sponsors. 
The format of the log entries across the page is 
as follows:  date, band, mode, time, callsign, your
number, received number, received exchange, a 
number between 1 and 58 for new multipliers, and 
points.  In this version of the program there are 
no headings or page breaks; you will have to put 
them in yourself.

       B. DUPE FILES.  The program will create a 
separate dupe file for each band/mode actually used.  
The file names will be FILEID.10S, FILEID.80C, etc. 
(the 160 meter band is abbreviated to "16").  Each 
file contains a list, sorted in ASCII order, of
all contacts on that band/mode, arranged seven 
contacts per line. Again, there are no titles or 
formatting information in these files.
>
       C. SUMMARY SHEET.  This will provide a 
summary sheet, in a file called FILEID.SUM, with 
score information filled out.  You can add any other 
desired information with your word processor. An
ASCII file called FILEID.BRK is also produced.  It
has a breakdown of QSO's by band (and mode, for CQP)
for each hour of the contest.

       D. DXBASE. This will produce a file in format 
suitable for exporting to the DX-BASE logging 
software from Scientific Software Solutions, Inc. 
The file is called FILEID.SDF. You have the option 
of deleting JA's and or W/K's from the export file
to avoid cluttering up the DX-BASE database, if desired.
  