Home » Archimedes archive » Archimedes World » AW-1993-12.adf » AWDec93 » !AWDec93/Goodies/WimpFlags/!Help

!AWDec93/Goodies/WimpFlags/!Help

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1993-12.adf » AWDec93
Filename: !AWDec93/Goodies/WimpFlags/!Help
Read OK:
File size: 19FF bytes
Load address: 0000
Exec address: 0000
File contents
****************************************************************************
**                                                                        **
**                                                                        **
**                                !WimpFlags                              **
**                                                                        **
**                   Chris Morison          version 2.00                  **
**                                                                        **
**                                                                        **
****************************************************************************

You will find this a very handy application if you often dabble in
programming in the wimp, but to those of you who don't it won't make much
sence!

Purpose
~~~~~~~

When designing icons and windows you need to know a number called 'flags',
this tells the wimp what the icon/window looks like and it's behaviour.
Using a template editor makes the job alot easier, but this program can
still have uses.

Firstly the MENU
~~~~~~~~~~~~~~~~

This can be opened by clicking menu on the icon bar icon or any of my
windows.  This is what it does:

Info         >   Display program infomation
Icon flags       Open icon flags window
Window flags     Open window flags window
Monitor      >   Leads to monitor sub-menu (see below)
Alter icon   >   Allows you to alter 'most' of the icons in the desktop
Quit         >   Removes the application

The monitor sub-menu:

Pointer          Opens a window which constantly tells you where the mouse
                 is, and some information about the icon and window  it is
                 over.
Icons            When the Icon flags window is open it will constantly tell
                 you every detail about the icon the mouse is over.
                 NB  Selecting this will automatically de-select Alter icon
Windows          When the Window flags window is open it will constantly
                 tell you every detail about that window.

NB  'Monitor' from the main menu and 'Pointer' from the monitor sub-menu
have the same action, opening and closing the monitor window.

Now the ICON FLAGS window
~~~~~~~~~~~~~~~~~~~~~~~~~

This can be opened by clicking SELECT on the icon bar icon or selecting
'Icon flags' from the main menu.

NB  I shant explain what all of the flags are, as any one who has a use for
the program will already know what they mean.

Down the left-hand side of this window you will see lots of options, these
are either on or off.

Next comes the button type.  The button type is shown in the white icon
below 'button type', to alter the button type click SELECT or ADJUST
anywhere inside the border and a menu will apear.  Simply click on the
button type required.

Then comes the ESG.  This can be altered by clicking on either of the arrows
to each side of the number.

Underneath is colours.  The colour is shown in the two icons, the top one
shows the foreground colour and the other shows the background colour.  To
the left of each of these is a sprite with a number to it's right.  The
number is the colour number, and clicking SELECT or ADJUST on the number or
sprite will open a menu from which the colour can be selected.

Skipping the next one brings me to the big red icon containing a
hexadecimal number.  This is the actual number which reflects the state of
all the other icon in the window.  You will notice that altering any of the
icons mentioned above will change this number.  You can also type a number
straight into this icon.  If the number isn't prefixed by a "&" then you
will be asked whether it is in hexadecimal or decimal.  Clicking CANCEL
will simply place a "&" in front of the number, OK will convert it to
hexadecimal first.

Now then, above this icon is a question mark with a green back-ground.  You
are able to drag this icon.  Drag it to any icon on the desktop and the
window will tell you all the information about that icon.  If alter icon is
selected from the main menu then changing the icon flags will also change
the icon you dragged onto!

NB  You are never capable of altering 'Indirected' or 'Deleted' as this
sometimes doesn't have desireable results.  If the icon is indirected to
begin with, you are incapable of altering 'Contains text' or 'Contains
sprite' because the same thing will happen.

Next the WINDOW FLAGS window
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This can be opened by clicking ADJUST on the icon bar icon or selecting
'Window flags' from the main menu.

NB  Again I shant explain what each icon does.

Window works in exactly the same way as the same way as above.

NB  The wimp requires that some bits of the window flags are set to zero,
so attempting to enter &FFFFFFFF will be translated into &FF1F1FFF, in
reverse some bits must be set to 1, so entering &0 will be translated into
&80000000.

The MONITOR window
~~~~~~~~~~~~~~~~~~

This can be opened by selecting 'Monitor' from the main menu or 'Pointer'
from the monitor sub menu when they are not ticked.

NB  When it is opened it is not at full size.

Here follows the meaning of each icon.

Pointer x      The x co-ordinate of the pointer from the bottom-left of the
               screen.
Pointer y      The y co-ordinate of the pointer from the bottom-left of the
               screen.
Button state   The state of the mouse buttons: +1 for ADJUST, +2 for MENU,
               +4 for SELECT

Window flags   The window flags of the window under the pointer.
Icon number    The number of the icon under the pointer.
Icon flags     The icon flags of the icon under the pointer.    
Icon origin    The origin of the icon under the pointer: x,y from it's
               window's top-left.
Icon size      The size of the icon under the pointer: width,height.

Finally the TEMPLATE INFORMATION UTILITY
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When you are writing an application which uses template files, you need to
know 2 things about the file.  One it the minimum size of a byte array
which will temporarily hold the largest window definition in the file.  The
second is the minimum size of a byte array that will hold all the
indirected data (assuming you are using one array for all the windows)

These two are quite complex to work out, so if you drag a Template file
onto the icon bar icon or any of my windows then a small window will be
opened.  This window tells you how many windows are in the file, and the
two values described above.

NB  Dragging an application instead of a template file will look inside the
application for a template file, and use that one!

00000000  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
00000040  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 0a 2a 2a 20  |************.** |
00000050  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000090  20 20 20 20 20 20 20 2a  2a 0a 2a 2a 20 20 20 20  |       **.**    |
000000a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
000000e0  20 20 20 20 2a 2a 0a 2a  2a 20 20 20 20 20 20 20  |    **.**       |
000000f0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000100  20 20 20 20 20 20 20 20  20 21 57 69 6d 70 46 6c  |         !WimpFl|
00000110  61 67 73 20 20 20 20 20  20 20 20 20 20 20 20 20  |ags             |
00000120  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000130  20 2a 2a 0a 2a 2a 20 20  20 20 20 20 20 20 20 20  | **.**          |
00000140  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000170  20 20 20 20 20 20 20 20  20 20 20 20 20 20 2a 2a  |              **|
00000180  0a 2a 2a 20 20 20 20 20  20 20 20 20 20 20 20 20  |.**             |
00000190  20 20 20 20 20 20 43 68  72 69 73 20 4d 6f 72 69  |      Chris Mori|
000001a0  73 6f 6e 20 20 20 20 20  20 20 20 20 20 76 65 72  |son          ver|
000001b0  73 69 6f 6e 20 32 2e 30  30 20 20 20 20 20 20 20  |sion 2.00       |
000001c0  20 20 20 20 20 20 20 20  20 20 20 2a 2a 0a 2a 2a  |           **.**|
000001d0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000210  20 20 20 20 20 20 20 20  2a 2a 0a 2a 2a 20 20 20  |        **.**   |
00000220  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
*
00000260  20 20 20 20 20 2a 2a 0a  2a 2a 2a 2a 2a 2a 2a 2a  |     **.********|
00000270  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
*
000002b0  2a 2a 2a 2a 0a 0a 59 6f  75 20 77 69 6c 6c 20 66  |****..You will f|
000002c0  69 6e 64 20 74 68 69 73  20 61 20 76 65 72 79 20  |ind this a very |
000002d0  68 61 6e 64 79 20 61 70  70 6c 69 63 61 74 69 6f  |handy applicatio|
000002e0  6e 20 69 66 20 79 6f 75  20 6f 66 74 65 6e 20 64  |n if you often d|
000002f0  61 62 62 6c 65 20 69 6e  0a 70 72 6f 67 72 61 6d  |abble in.program|
00000300  6d 69 6e 67 20 69 6e 20  74 68 65 20 77 69 6d 70  |ming in the wimp|
00000310  2c 20 62 75 74 20 74 6f  20 74 68 6f 73 65 20 6f  |, but to those o|
00000320  66 20 79 6f 75 20 77 68  6f 20 64 6f 6e 27 74 20  |f you who don't |
00000330  69 74 20 77 6f 6e 27 74  20 6d 61 6b 65 20 6d 75  |it won't make mu|
00000340  63 68 0a 73 65 6e 63 65  21 0a 0a 50 75 72 70 6f  |ch.sence!..Purpo|
00000350  73 65 0a 7e 7e 7e 7e 7e  7e 7e 0a 0a 57 68 65 6e  |se.~~~~~~~..When|
00000360  20 64 65 73 69 67 6e 69  6e 67 20 69 63 6f 6e 73  | designing icons|
00000370  20 61 6e 64 20 77 69 6e  64 6f 77 73 20 79 6f 75  | and windows you|
00000380  20 6e 65 65 64 20 74 6f  20 6b 6e 6f 77 20 61 20  | need to know a |
00000390  6e 75 6d 62 65 72 20 63  61 6c 6c 65 64 20 27 66  |number called 'f|
000003a0  6c 61 67 73 27 2c 0a 74  68 69 73 20 74 65 6c 6c  |lags',.this tell|
000003b0  73 20 74 68 65 20 77 69  6d 70 20 77 68 61 74 20  |s the wimp what |
000003c0  74 68 65 20 69 63 6f 6e  2f 77 69 6e 64 6f 77 20  |the icon/window |
000003d0  6c 6f 6f 6b 73 20 6c 69  6b 65 20 61 6e 64 20 69  |looks like and i|
000003e0  74 27 73 20 62 65 68 61  76 69 6f 75 72 2e 0a 55  |t's behaviour..U|
000003f0  73 69 6e 67 20 61 20 74  65 6d 70 6c 61 74 65 20  |sing a template |
00000400  65 64 69 74 6f 72 20 6d  61 6b 65 73 20 74 68 65  |editor makes the|
00000410  20 6a 6f 62 20 61 6c 6f  74 20 65 61 73 69 65 72  | job alot easier|
00000420  2c 20 62 75 74 20 74 68  69 73 20 70 72 6f 67 72  |, but this progr|
00000430  61 6d 20 63 61 6e 0a 73  74 69 6c 6c 20 68 61 76  |am can.still hav|
00000440  65 20 75 73 65 73 2e 0a  0a 46 69 72 73 74 6c 79  |e uses...Firstly|
00000450  20 74 68 65 20 4d 45 4e  55 0a 7e 7e 7e 7e 7e 7e  | the MENU.~~~~~~|
00000460  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 0a 0a 54 68 69 73  |~~~~~~~~~~..This|
00000470  20 63 61 6e 20 62 65 20  6f 70 65 6e 65 64 20 62  | can be opened b|
00000480  79 20 63 6c 69 63 6b 69  6e 67 20 6d 65 6e 75 20  |y clicking menu |
00000490  6f 6e 20 74 68 65 20 69  63 6f 6e 20 62 61 72 20  |on the icon bar |
000004a0  69 63 6f 6e 20 6f 72 20  61 6e 79 20 6f 66 20 6d  |icon or any of m|
000004b0  79 0a 77 69 6e 64 6f 77  73 2e 20 20 54 68 69 73  |y.windows.  This|
000004c0  20 69 73 20 77 68 61 74  20 69 74 20 64 6f 65 73  | is what it does|
000004d0  3a 0a 0a 49 6e 66 6f 20  20 20 20 20 20 20 20 20  |:..Info         |
000004e0  3e 20 20 20 44 69 73 70  6c 61 79 20 70 72 6f 67  |>   Display prog|
000004f0  72 61 6d 20 69 6e 66 6f  6d 61 74 69 6f 6e 0a 49  |ram infomation.I|
00000500  63 6f 6e 20 66 6c 61 67  73 20 20 20 20 20 20 20  |con flags       |
00000510  4f 70 65 6e 20 69 63 6f  6e 20 66 6c 61 67 73 20  |Open icon flags |
00000520  77 69 6e 64 6f 77 0a 57  69 6e 64 6f 77 20 66 6c  |window.Window fl|
00000530  61 67 73 20 20 20 20 20  4f 70 65 6e 20 77 69 6e  |ags     Open win|
00000540  64 6f 77 20 66 6c 61 67  73 20 77 69 6e 64 6f 77  |dow flags window|
00000550  0a 4d 6f 6e 69 74 6f 72  20 20 20 20 20 20 3e 20  |.Monitor      > |
00000560  20 20 4c 65 61 64 73 20  74 6f 20 6d 6f 6e 69 74  |  Leads to monit|
00000570  6f 72 20 73 75 62 2d 6d  65 6e 75 20 28 73 65 65  |or sub-menu (see|
00000580  20 62 65 6c 6f 77 29 0a  41 6c 74 65 72 20 69 63  | below).Alter ic|
00000590  6f 6e 20 20 20 3e 20 20  20 41 6c 6c 6f 77 73 20  |on   >   Allows |
000005a0  79 6f 75 20 74 6f 20 61  6c 74 65 72 20 27 6d 6f  |you to alter 'mo|
000005b0  73 74 27 20 6f 66 20 74  68 65 20 69 63 6f 6e 73  |st' of the icons|
000005c0  20 69 6e 20 74 68 65 20  64 65 73 6b 74 6f 70 0a  | in the desktop.|
000005d0  51 75 69 74 20 20 20 20  20 20 20 20 20 3e 20 20  |Quit         >  |
000005e0  20 52 65 6d 6f 76 65 73  20 74 68 65 20 61 70 70  | Removes the app|
000005f0  6c 69 63 61 74 69 6f 6e  0a 0a 54 68 65 20 6d 6f  |lication..The mo|
00000600  6e 69 74 6f 72 20 73 75  62 2d 6d 65 6e 75 3a 0a  |nitor sub-menu:.|
00000610  0a 50 6f 69 6e 74 65 72  20 20 20 20 20 20 20 20  |.Pointer        |
00000620  20 20 4f 70 65 6e 73 20  61 20 77 69 6e 64 6f 77  |  Opens a window|
00000630  20 77 68 69 63 68 20 63  6f 6e 73 74 61 6e 74 6c  | which constantl|
00000640  79 20 74 65 6c 6c 73 20  79 6f 75 20 77 68 65 72  |y tells you wher|
00000650  65 20 74 68 65 20 6d 6f  75 73 65 0a 20 20 20 20  |e the mouse.    |
00000660  20 20 20 20 20 20 20 20  20 20 20 20 20 69 73 2c  |             is,|
00000670  20 61 6e 64 20 73 6f 6d  65 20 69 6e 66 6f 72 6d  | and some inform|
00000680  61 74 69 6f 6e 20 61 62  6f 75 74 20 74 68 65 20  |ation about the |
00000690  69 63 6f 6e 20 61 6e 64  20 77 69 6e 64 6f 77 20  |icon and window |
000006a0  20 69 74 20 69 73 0a 20  20 20 20 20 20 20 20 20  | it is.         |
000006b0  20 20 20 20 20 20 20 20  6f 76 65 72 2e 0a 49 63  |        over..Ic|
000006c0  6f 6e 73 20 20 20 20 20  20 20 20 20 20 20 20 57  |ons            W|
000006d0  68 65 6e 20 74 68 65 20  49 63 6f 6e 20 66 6c 61  |hen the Icon fla|
000006e0  67 73 20 77 69 6e 64 6f  77 20 69 73 20 6f 70 65  |gs window is ope|
000006f0  6e 20 69 74 20 77 69 6c  6c 20 63 6f 6e 73 74 61  |n it will consta|
00000700  6e 74 6c 79 20 74 65 6c  6c 0a 20 20 20 20 20 20  |ntly tell.      |
00000710  20 20 20 20 20 20 20 20  20 20 20 79 6f 75 20 65  |           you e|
00000720  76 65 72 79 20 64 65 74  61 69 6c 20 61 62 6f 75  |very detail abou|
00000730  74 20 74 68 65 20 69 63  6f 6e 20 74 68 65 20 6d  |t the icon the m|
00000740  6f 75 73 65 20 69 73 20  6f 76 65 72 2e 0a 20 20  |ouse is over..  |
00000750  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 4e  |               N|
00000760  42 20 20 53 65 6c 65 63  74 69 6e 67 20 74 68 69  |B  Selecting thi|
00000770  73 20 77 69 6c 6c 20 61  75 74 6f 6d 61 74 69 63  |s will automatic|
00000780  61 6c 6c 79 20 64 65 2d  73 65 6c 65 63 74 20 41  |ally de-select A|
00000790  6c 74 65 72 20 69 63 6f  6e 0a 57 69 6e 64 6f 77  |lter icon.Window|
000007a0  73 20 20 20 20 20 20 20  20 20 20 57 68 65 6e 20  |s          When |
000007b0  74 68 65 20 57 69 6e 64  6f 77 20 66 6c 61 67 73  |the Window flags|
000007c0  20 77 69 6e 64 6f 77 20  69 73 20 6f 70 65 6e 20  | window is open |
000007d0  69 74 20 77 69 6c 6c 20  63 6f 6e 73 74 61 6e 74  |it will constant|
000007e0  6c 79 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ly.             |
000007f0  20 20 20 20 74 65 6c 6c  20 79 6f 75 20 65 76 65  |    tell you eve|
00000800  72 79 20 64 65 74 61 69  6c 20 61 62 6f 75 74 20  |ry detail about |
00000810  74 68 61 74 20 77 69 6e  64 6f 77 2e 0a 0a 4e 42  |that window...NB|
00000820  20 20 27 4d 6f 6e 69 74  6f 72 27 20 66 72 6f 6d  |  'Monitor' from|
00000830  20 74 68 65 20 6d 61 69  6e 20 6d 65 6e 75 20 61  | the main menu a|
00000840  6e 64 20 27 50 6f 69 6e  74 65 72 27 20 66 72 6f  |nd 'Pointer' fro|
00000850  6d 20 74 68 65 20 6d 6f  6e 69 74 6f 72 20 73 75  |m the monitor su|
00000860  62 2d 6d 65 6e 75 0a 68  61 76 65 20 74 68 65 20  |b-menu.have the |
00000870  73 61 6d 65 20 61 63 74  69 6f 6e 2c 20 6f 70 65  |same action, ope|
00000880  6e 69 6e 67 20 61 6e 64  20 63 6c 6f 73 69 6e 67  |ning and closing|
00000890  20 74 68 65 20 6d 6f 6e  69 74 6f 72 20 77 69 6e  | the monitor win|
000008a0  64 6f 77 2e 0a 0a 4e 6f  77 20 74 68 65 20 49 43  |dow...Now the IC|
000008b0  4f 4e 20 46 4c 41 47 53  20 77 69 6e 64 6f 77 0a  |ON FLAGS window.|
000008c0  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |~~~~~~~~~~~~~~~~|
000008d0  7e 7e 7e 7e 7e 7e 7e 7e  7e 0a 0a 54 68 69 73 20  |~~~~~~~~~..This |
000008e0  63 61 6e 20 62 65 20 6f  70 65 6e 65 64 20 62 79  |can be opened by|
000008f0  20 63 6c 69 63 6b 69 6e  67 20 53 45 4c 45 43 54  | clicking SELECT|
00000900  20 6f 6e 20 74 68 65 20  69 63 6f 6e 20 62 61 72  | on the icon bar|
00000910  20 69 63 6f 6e 20 6f 72  20 73 65 6c 65 63 74 69  | icon or selecti|
00000920  6e 67 0a 27 49 63 6f 6e  20 66 6c 61 67 73 27 20  |ng.'Icon flags' |
00000930  66 72 6f 6d 20 74 68 65  20 6d 61 69 6e 20 6d 65  |from the main me|
00000940  6e 75 2e 0a 0a 4e 42 20  20 49 20 73 68 61 6e 74  |nu...NB  I shant|
00000950  20 65 78 70 6c 61 69 6e  20 77 68 61 74 20 61 6c  | explain what al|
00000960  6c 20 6f 66 20 74 68 65  20 66 6c 61 67 73 20 61  |l of the flags a|
00000970  72 65 2c 20 61 73 20 61  6e 79 20 6f 6e 65 20 77  |re, as any one w|
00000980  68 6f 20 68 61 73 20 61  20 75 73 65 20 66 6f 72  |ho has a use for|
00000990  0a 74 68 65 20 70 72 6f  67 72 61 6d 20 77 69 6c  |.the program wil|
000009a0  6c 20 61 6c 72 65 61 64  79 20 6b 6e 6f 77 20 77  |l already know w|
000009b0  68 61 74 20 74 68 65 79  20 6d 65 61 6e 2e 0a 0a  |hat they mean...|
000009c0  44 6f 77 6e 20 74 68 65  20 6c 65 66 74 2d 68 61  |Down the left-ha|
000009d0  6e 64 20 73 69 64 65 20  6f 66 20 74 68 69 73 20  |nd side of this |
000009e0  77 69 6e 64 6f 77 20 79  6f 75 20 77 69 6c 6c 20  |window you will |
000009f0  73 65 65 20 6c 6f 74 73  20 6f 66 20 6f 70 74 69  |see lots of opti|
00000a00  6f 6e 73 2c 20 74 68 65  73 65 0a 61 72 65 20 65  |ons, these.are e|
00000a10  69 74 68 65 72 20 6f 6e  20 6f 72 20 6f 66 66 2e  |ither on or off.|
00000a20  0a 0a 4e 65 78 74 20 63  6f 6d 65 73 20 74 68 65  |..Next comes the|
00000a30  20 62 75 74 74 6f 6e 20  74 79 70 65 2e 20 20 54  | button type.  T|
00000a40  68 65 20 62 75 74 74 6f  6e 20 74 79 70 65 20 69  |he button type i|
00000a50  73 20 73 68 6f 77 6e 20  69 6e 20 74 68 65 20 77  |s shown in the w|
00000a60  68 69 74 65 20 69 63 6f  6e 0a 62 65 6c 6f 77 20  |hite icon.below |
00000a70  27 62 75 74 74 6f 6e 20  74 79 70 65 27 2c 20 74  |'button type', t|
00000a80  6f 20 61 6c 74 65 72 20  74 68 65 20 62 75 74 74  |o alter the butt|
00000a90  6f 6e 20 74 79 70 65 20  63 6c 69 63 6b 20 53 45  |on type click SE|
00000aa0  4c 45 43 54 20 6f 72 20  41 44 4a 55 53 54 0a 61  |LECT or ADJUST.a|
00000ab0  6e 79 77 68 65 72 65 20  69 6e 73 69 64 65 20 74  |nywhere inside t|
00000ac0  68 65 20 62 6f 72 64 65  72 20 61 6e 64 20 61 20  |he border and a |
00000ad0  6d 65 6e 75 20 77 69 6c  6c 20 61 70 65 61 72 2e  |menu will apear.|
00000ae0  20 20 53 69 6d 70 6c 79  20 63 6c 69 63 6b 20 6f  |  Simply click o|
00000af0  6e 20 74 68 65 0a 62 75  74 74 6f 6e 20 74 79 70  |n the.button typ|
00000b00  65 20 72 65 71 75 69 72  65 64 2e 0a 0a 54 68 65  |e required...The|
00000b10  6e 20 63 6f 6d 65 73 20  74 68 65 20 45 53 47 2e  |n comes the ESG.|
00000b20  20 20 54 68 69 73 20 63  61 6e 20 62 65 20 61 6c  |  This can be al|
00000b30  74 65 72 65 64 20 62 79  20 63 6c 69 63 6b 69 6e  |tered by clickin|
00000b40  67 20 6f 6e 20 65 69 74  68 65 72 20 6f 66 20 74  |g on either of t|
00000b50  68 65 20 61 72 72 6f 77  73 0a 74 6f 20 65 61 63  |he arrows.to eac|
00000b60  68 20 73 69 64 65 20 6f  66 20 74 68 65 20 6e 75  |h side of the nu|
00000b70  6d 62 65 72 2e 0a 0a 55  6e 64 65 72 6e 65 61 74  |mber...Underneat|
00000b80  68 20 69 73 20 63 6f 6c  6f 75 72 73 2e 20 20 54  |h is colours.  T|
00000b90  68 65 20 63 6f 6c 6f 75  72 20 69 73 20 73 68 6f  |he colour is sho|
00000ba0  77 6e 20 69 6e 20 74 68  65 20 74 77 6f 20 69 63  |wn in the two ic|
00000bb0  6f 6e 73 2c 20 74 68 65  20 74 6f 70 20 6f 6e 65  |ons, the top one|
00000bc0  0a 73 68 6f 77 73 20 74  68 65 20 66 6f 72 65 67  |.shows the foreg|
00000bd0  72 6f 75 6e 64 20 63 6f  6c 6f 75 72 20 61 6e 64  |round colour and|
00000be0  20 74 68 65 20 6f 74 68  65 72 20 73 68 6f 77 73  | the other shows|
00000bf0  20 74 68 65 20 62 61 63  6b 67 72 6f 75 6e 64 20  | the background |
00000c00  63 6f 6c 6f 75 72 2e 20  20 54 6f 0a 74 68 65 20  |colour.  To.the |
00000c10  6c 65 66 74 20 6f 66 20  65 61 63 68 20 6f 66 20  |left of each of |
00000c20  74 68 65 73 65 20 69 73  20 61 20 73 70 72 69 74  |these is a sprit|
00000c30  65 20 77 69 74 68 20 61  20 6e 75 6d 62 65 72 20  |e with a number |
00000c40  74 6f 20 69 74 27 73 20  72 69 67 68 74 2e 20 20  |to it's right.  |
00000c50  54 68 65 0a 6e 75 6d 62  65 72 20 69 73 20 74 68  |The.number is th|
00000c60  65 20 63 6f 6c 6f 75 72  20 6e 75 6d 62 65 72 2c  |e colour number,|
00000c70  20 61 6e 64 20 63 6c 69  63 6b 69 6e 67 20 53 45  | and clicking SE|
00000c80  4c 45 43 54 20 6f 72 20  41 44 4a 55 53 54 20 6f  |LECT or ADJUST o|
00000c90  6e 20 74 68 65 20 6e 75  6d 62 65 72 20 6f 72 0a  |n the number or.|
00000ca0  73 70 72 69 74 65 20 77  69 6c 6c 20 6f 70 65 6e  |sprite will open|
00000cb0  20 61 20 6d 65 6e 75 20  66 72 6f 6d 20 77 68 69  | a menu from whi|
00000cc0  63 68 20 74 68 65 20 63  6f 6c 6f 75 72 20 63 61  |ch the colour ca|
00000cd0  6e 20 62 65 20 73 65 6c  65 63 74 65 64 2e 0a 0a  |n be selected...|
00000ce0  53 6b 69 70 70 69 6e 67  20 74 68 65 20 6e 65 78  |Skipping the nex|
00000cf0  74 20 6f 6e 65 20 62 72  69 6e 67 73 20 6d 65 20  |t one brings me |
00000d00  74 6f 20 74 68 65 20 62  69 67 20 72 65 64 20 69  |to the big red i|
00000d10  63 6f 6e 20 63 6f 6e 74  61 69 6e 69 6e 67 20 61  |con containing a|
00000d20  0a 68 65 78 61 64 65 63  69 6d 61 6c 20 6e 75 6d  |.hexadecimal num|
00000d30  62 65 72 2e 20 20 54 68  69 73 20 69 73 20 74 68  |ber.  This is th|
00000d40  65 20 61 63 74 75 61 6c  20 6e 75 6d 62 65 72 20  |e actual number |
00000d50  77 68 69 63 68 20 72 65  66 6c 65 63 74 73 20 74  |which reflects t|
00000d60  68 65 20 73 74 61 74 65  20 6f 66 0a 61 6c 6c 20  |he state of.all |
00000d70  74 68 65 20 6f 74 68 65  72 20 69 63 6f 6e 20 69  |the other icon i|
00000d80  6e 20 74 68 65 20 77 69  6e 64 6f 77 2e 20 20 59  |n the window.  Y|
00000d90  6f 75 20 77 69 6c 6c 20  6e 6f 74 69 63 65 20 74  |ou will notice t|
00000da0  68 61 74 20 61 6c 74 65  72 69 6e 67 20 61 6e 79  |hat altering any|
00000db0  20 6f 66 20 74 68 65 0a  69 63 6f 6e 73 20 6d 65  | of the.icons me|
00000dc0  6e 74 69 6f 6e 65 64 20  61 62 6f 76 65 20 77 69  |ntioned above wi|
00000dd0  6c 6c 20 63 68 61 6e 67  65 20 74 68 69 73 20 6e  |ll change this n|
00000de0  75 6d 62 65 72 2e 20 20  59 6f 75 20 63 61 6e 20  |umber.  You can |
00000df0  61 6c 73 6f 20 74 79 70  65 20 61 20 6e 75 6d 62  |also type a numb|
00000e00  65 72 0a 73 74 72 61 69  67 68 74 20 69 6e 74 6f  |er.straight into|
00000e10  20 74 68 69 73 20 69 63  6f 6e 2e 20 20 49 66 20  | this icon.  If |
00000e20  74 68 65 20 6e 75 6d 62  65 72 20 69 73 6e 27 74  |the number isn't|
00000e30  20 70 72 65 66 69 78 65  64 20 62 79 20 61 20 22  | prefixed by a "|
00000e40  26 22 20 74 68 65 6e 20  79 6f 75 0a 77 69 6c 6c  |&" then you.will|
00000e50  20 62 65 20 61 73 6b 65  64 20 77 68 65 74 68 65  | be asked whethe|
00000e60  72 20 69 74 20 69 73 20  69 6e 20 68 65 78 61 64  |r it is in hexad|
00000e70  65 63 69 6d 61 6c 20 6f  72 20 64 65 63 69 6d 61  |ecimal or decima|
00000e80  6c 2e 20 20 43 6c 69 63  6b 69 6e 67 20 43 41 4e  |l.  Clicking CAN|
00000e90  43 45 4c 0a 77 69 6c 6c  20 73 69 6d 70 6c 79 20  |CEL.will simply |
00000ea0  70 6c 61 63 65 20 61 20  22 26 22 20 69 6e 20 66  |place a "&" in f|
00000eb0  72 6f 6e 74 20 6f 66 20  74 68 65 20 6e 75 6d 62  |ront of the numb|
00000ec0  65 72 2c 20 4f 4b 20 77  69 6c 6c 20 63 6f 6e 76  |er, OK will conv|
00000ed0  65 72 74 20 69 74 20 74  6f 0a 68 65 78 61 64 65  |ert it to.hexade|
00000ee0  63 69 6d 61 6c 20 66 69  72 73 74 2e 0a 0a 4e 6f  |cimal first...No|
00000ef0  77 20 74 68 65 6e 2c 20  61 62 6f 76 65 20 74 68  |w then, above th|
00000f00  69 73 20 69 63 6f 6e 20  69 73 20 61 20 71 75 65  |is icon is a que|
00000f10  73 74 69 6f 6e 20 6d 61  72 6b 20 77 69 74 68 20  |stion mark with |
00000f20  61 20 67 72 65 65 6e 20  62 61 63 6b 2d 67 72 6f  |a green back-gro|
00000f30  75 6e 64 2e 20 20 59 6f  75 0a 61 72 65 20 61 62  |und.  You.are ab|
00000f40  6c 65 20 74 6f 20 64 72  61 67 20 74 68 69 73 20  |le to drag this |
00000f50  69 63 6f 6e 2e 20 20 44  72 61 67 20 69 74 20 74  |icon.  Drag it t|
00000f60  6f 20 61 6e 79 20 69 63  6f 6e 20 6f 6e 20 74 68  |o any icon on th|
00000f70  65 20 64 65 73 6b 74 6f  70 20 61 6e 64 20 74 68  |e desktop and th|
00000f80  65 0a 77 69 6e 64 6f 77  20 77 69 6c 6c 20 74 65  |e.window will te|
00000f90  6c 6c 20 79 6f 75 20 61  6c 6c 20 74 68 65 20 69  |ll you all the i|
00000fa0  6e 66 6f 72 6d 61 74 69  6f 6e 20 61 62 6f 75 74  |nformation about|
00000fb0  20 74 68 61 74 20 69 63  6f 6e 2e 20 20 49 66 20  | that icon.  If |
00000fc0  61 6c 74 65 72 20 69 63  6f 6e 20 69 73 0a 73 65  |alter icon is.se|
00000fd0  6c 65 63 74 65 64 20 66  72 6f 6d 20 74 68 65 20  |lected from the |
00000fe0  6d 61 69 6e 20 6d 65 6e  75 20 74 68 65 6e 20 63  |main menu then c|
00000ff0  68 61 6e 67 69 6e 67 20  74 68 65 20 69 63 6f 6e  |hanging the icon|
00001000  20 66 6c 61 67 73 20 77  69 6c 6c 20 61 6c 73 6f  | flags will also|
00001010  20 63 68 61 6e 67 65 0a  74 68 65 20 69 63 6f 6e  | change.the icon|
00001020  20 79 6f 75 20 64 72 61  67 67 65 64 20 6f 6e 74  | you dragged ont|
00001030  6f 21 0a 0a 4e 42 20 20  59 6f 75 20 61 72 65 20  |o!..NB  You are |
00001040  6e 65 76 65 72 20 63 61  70 61 62 6c 65 20 6f 66  |never capable of|
00001050  20 61 6c 74 65 72 69 6e  67 20 27 49 6e 64 69 72  | altering 'Indir|
00001060  65 63 74 65 64 27 20 6f  72 20 27 44 65 6c 65 74  |ected' or 'Delet|
00001070  65 64 27 20 61 73 20 74  68 69 73 0a 73 6f 6d 65  |ed' as this.some|
00001080  74 69 6d 65 73 20 64 6f  65 73 6e 27 74 20 68 61  |times doesn't ha|
00001090  76 65 20 64 65 73 69 72  65 61 62 6c 65 20 72 65  |ve desireable re|
000010a0  73 75 6c 74 73 2e 20 20  49 66 20 74 68 65 20 69  |sults.  If the i|
000010b0  63 6f 6e 20 69 73 20 69  6e 64 69 72 65 63 74 65  |con is indirecte|
000010c0  64 20 74 6f 0a 62 65 67  69 6e 20 77 69 74 68 2c  |d to.begin with,|
000010d0  20 79 6f 75 20 61 72 65  20 69 6e 63 61 70 61 62  | you are incapab|
000010e0  6c 65 20 6f 66 20 61 6c  74 65 72 69 6e 67 20 27  |le of altering '|
000010f0  43 6f 6e 74 61 69 6e 73  20 74 65 78 74 27 20 6f  |Contains text' o|
00001100  72 20 27 43 6f 6e 74 61  69 6e 73 0a 73 70 72 69  |r 'Contains.spri|
00001110  74 65 27 20 62 65 63 61  75 73 65 20 74 68 65 20  |te' because the |
00001120  73 61 6d 65 20 74 68 69  6e 67 20 77 69 6c 6c 20  |same thing will |
00001130  68 61 70 70 65 6e 2e 0a  0a 4e 65 78 74 20 74 68  |happen...Next th|
00001140  65 20 57 49 4e 44 4f 57  20 46 4c 41 47 53 20 77  |e WINDOW FLAGS w|
00001150  69 6e 64 6f 77 0a 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |indow.~~~~~~~~~~|
00001160  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |~~~~~~~~~~~~~~~~|
00001170  7e 7e 0a 0a 54 68 69 73  20 63 61 6e 20 62 65 20  |~~..This can be |
00001180  6f 70 65 6e 65 64 20 62  79 20 63 6c 69 63 6b 69  |opened by clicki|
00001190  6e 67 20 41 44 4a 55 53  54 20 6f 6e 20 74 68 65  |ng ADJUST on the|
000011a0  20 69 63 6f 6e 20 62 61  72 20 69 63 6f 6e 20 6f  | icon bar icon o|
000011b0  72 20 73 65 6c 65 63 74  69 6e 67 0a 27 57 69 6e  |r selecting.'Win|
000011c0  64 6f 77 20 66 6c 61 67  73 27 20 66 72 6f 6d 20  |dow flags' from |
000011d0  74 68 65 20 6d 61 69 6e  20 6d 65 6e 75 2e 0a 0a  |the main menu...|
000011e0  4e 42 20 20 41 67 61 69  6e 20 49 20 73 68 61 6e  |NB  Again I shan|
000011f0  74 20 65 78 70 6c 61 69  6e 20 77 68 61 74 20 65  |t explain what e|
00001200  61 63 68 20 69 63 6f 6e  20 64 6f 65 73 2e 0a 0a  |ach icon does...|
00001210  57 69 6e 64 6f 77 20 77  6f 72 6b 73 20 69 6e 20  |Window works in |
00001220  65 78 61 63 74 6c 79 20  74 68 65 20 73 61 6d 65  |exactly the same|
00001230  20 77 61 79 20 61 73 20  74 68 65 20 73 61 6d 65  | way as the same|
00001240  20 77 61 79 20 61 73 20  61 62 6f 76 65 2e 0a 0a  | way as above...|
00001250  4e 42 20 20 54 68 65 20  77 69 6d 70 20 72 65 71  |NB  The wimp req|
00001260  75 69 72 65 73 20 74 68  61 74 20 73 6f 6d 65 20  |uires that some |
00001270  62 69 74 73 20 6f 66 20  74 68 65 20 77 69 6e 64  |bits of the wind|
00001280  6f 77 20 66 6c 61 67 73  20 61 72 65 20 73 65 74  |ow flags are set|
00001290  20 74 6f 20 7a 65 72 6f  2c 0a 73 6f 20 61 74 74  | to zero,.so att|
000012a0  65 6d 70 74 69 6e 67 20  74 6f 20 65 6e 74 65 72  |empting to enter|
000012b0  20 26 46 46 46 46 46 46  46 46 20 77 69 6c 6c 20  | &FFFFFFFF will |
000012c0  62 65 20 74 72 61 6e 73  6c 61 74 65 64 20 69 6e  |be translated in|
000012d0  74 6f 20 26 46 46 31 46  31 46 46 46 2c 20 69 6e  |to &FF1F1FFF, in|
000012e0  0a 72 65 76 65 72 73 65  20 73 6f 6d 65 20 62 69  |.reverse some bi|
000012f0  74 73 20 6d 75 73 74 20  62 65 20 73 65 74 20 74  |ts must be set t|
00001300  6f 20 31 2c 20 73 6f 20  65 6e 74 65 72 69 6e 67  |o 1, so entering|
00001310  20 26 30 20 77 69 6c 6c  20 62 65 20 74 72 61 6e  | &0 will be tran|
00001320  73 6c 61 74 65 64 20 69  6e 74 6f 0a 26 38 30 30  |slated into.&800|
00001330  30 30 30 30 30 2e 0a 0a  54 68 65 20 4d 4f 4e 49  |00000...The MONI|
00001340  54 4f 52 20 77 69 6e 64  6f 77 0a 7e 7e 7e 7e 7e  |TOR window.~~~~~|
00001350  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 0a 0a 54  |~~~~~~~~~~~~~..T|
00001360  68 69 73 20 63 61 6e 20  62 65 20 6f 70 65 6e 65  |his can be opene|
00001370  64 20 62 79 20 73 65 6c  65 63 74 69 6e 67 20 27  |d by selecting '|
00001380  4d 6f 6e 69 74 6f 72 27  20 66 72 6f 6d 20 74 68  |Monitor' from th|
00001390  65 20 6d 61 69 6e 20 6d  65 6e 75 20 6f 72 20 27  |e main menu or '|
000013a0  50 6f 69 6e 74 65 72 27  0a 66 72 6f 6d 20 74 68  |Pointer'.from th|
000013b0  65 20 6d 6f 6e 69 74 6f  72 20 73 75 62 20 6d 65  |e monitor sub me|
000013c0  6e 75 20 77 68 65 6e 20  74 68 65 79 20 61 72 65  |nu when they are|
000013d0  20 6e 6f 74 20 74 69 63  6b 65 64 2e 0a 0a 4e 42  | not ticked...NB|
000013e0  20 20 57 68 65 6e 20 69  74 20 69 73 20 6f 70 65  |  When it is ope|
000013f0  6e 65 64 20 69 74 20 69  73 20 6e 6f 74 20 61 74  |ned it is not at|
00001400  20 66 75 6c 6c 20 73 69  7a 65 2e 0a 0a 48 65 72  | full size...Her|
00001410  65 20 66 6f 6c 6c 6f 77  73 20 74 68 65 20 6d 65  |e follows the me|
00001420  61 6e 69 6e 67 20 6f 66  20 65 61 63 68 20 69 63  |aning of each ic|
00001430  6f 6e 2e 0a 0a 50 6f 69  6e 74 65 72 20 78 20 20  |on...Pointer x  |
00001440  20 20 20 20 54 68 65 20  78 20 63 6f 2d 6f 72 64  |    The x co-ord|
00001450  69 6e 61 74 65 20 6f 66  20 74 68 65 20 70 6f 69  |inate of the poi|
00001460  6e 74 65 72 20 66 72 6f  6d 20 74 68 65 20 62 6f  |nter from the bo|
00001470  74 74 6f 6d 2d 6c 65 66  74 20 6f 66 20 74 68 65  |ttom-left of the|
00001480  0a 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |.               |
00001490  73 63 72 65 65 6e 2e 0a  50 6f 69 6e 74 65 72 20  |screen..Pointer |
000014a0  79 20 20 20 20 20 20 54  68 65 20 79 20 63 6f 2d  |y      The y co-|
000014b0  6f 72 64 69 6e 61 74 65  20 6f 66 20 74 68 65 20  |ordinate of the |
000014c0  70 6f 69 6e 74 65 72 20  66 72 6f 6d 20 74 68 65  |pointer from the|
000014d0  20 62 6f 74 74 6f 6d 2d  6c 65 66 74 20 6f 66 20  | bottom-left of |
000014e0  74 68 65 0a 20 20 20 20  20 20 20 20 20 20 20 20  |the.            |
000014f0  20 20 20 73 63 72 65 65  6e 2e 0a 42 75 74 74 6f  |   screen..Butto|
00001500  6e 20 73 74 61 74 65 20  20 20 54 68 65 20 73 74  |n state   The st|
00001510  61 74 65 20 6f 66 20 74  68 65 20 6d 6f 75 73 65  |ate of the mouse|
00001520  20 62 75 74 74 6f 6e 73  3a 20 2b 31 20 66 6f 72  | buttons: +1 for|
00001530  20 41 44 4a 55 53 54 2c  20 2b 32 20 66 6f 72 20  | ADJUST, +2 for |
00001540  4d 45 4e 55 2c 0a 20 20  20 20 20 20 20 20 20 20  |MENU,.          |
00001550  20 20 20 20 20 2b 34 20  66 6f 72 20 53 45 4c 45  |     +4 for SELE|
00001560  43 54 0a 0a 57 69 6e 64  6f 77 20 66 6c 61 67 73  |CT..Window flags|
00001570  20 20 20 54 68 65 20 77  69 6e 64 6f 77 20 66 6c  |   The window fl|
00001580  61 67 73 20 6f 66 20 74  68 65 20 77 69 6e 64 6f  |ags of the windo|
00001590  77 20 75 6e 64 65 72 20  74 68 65 20 70 6f 69 6e  |w under the poin|
000015a0  74 65 72 2e 0a 49 63 6f  6e 20 6e 75 6d 62 65 72  |ter..Icon number|
000015b0  20 20 20 20 54 68 65 20  6e 75 6d 62 65 72 20 6f  |    The number o|
000015c0  66 20 74 68 65 20 69 63  6f 6e 20 75 6e 64 65 72  |f the icon under|
000015d0  20 74 68 65 20 70 6f 69  6e 74 65 72 2e 0a 49 63  | the pointer..Ic|
000015e0  6f 6e 20 66 6c 61 67 73  20 20 20 20 20 54 68 65  |on flags     The|
000015f0  20 69 63 6f 6e 20 66 6c  61 67 73 20 6f 66 20 74  | icon flags of t|
00001600  68 65 20 69 63 6f 6e 20  75 6e 64 65 72 20 74 68  |he icon under th|
00001610  65 20 70 6f 69 6e 74 65  72 2e 20 20 20 20 0a 49  |e pointer.    .I|
00001620  63 6f 6e 20 6f 72 69 67  69 6e 20 20 20 20 54 68  |con origin    Th|
00001630  65 20 6f 72 69 67 69 6e  20 6f 66 20 74 68 65 20  |e origin of the |
00001640  69 63 6f 6e 20 75 6e 64  65 72 20 74 68 65 20 70  |icon under the p|
00001650  6f 69 6e 74 65 72 3a 20  78 2c 79 20 66 72 6f 6d  |ointer: x,y from|
00001660  20 69 74 27 73 0a 20 20  20 20 20 20 20 20 20 20  | it's.          |
00001670  20 20 20 20 20 77 69 6e  64 6f 77 27 73 20 74 6f  |     window's to|
00001680  70 2d 6c 65 66 74 2e 0a  49 63 6f 6e 20 73 69 7a  |p-left..Icon siz|
00001690  65 20 20 20 20 20 20 54  68 65 20 73 69 7a 65 20  |e      The size |
000016a0  6f 66 20 74 68 65 20 69  63 6f 6e 20 75 6e 64 65  |of the icon unde|
000016b0  72 20 74 68 65 20 70 6f  69 6e 74 65 72 3a 20 77  |r the pointer: w|
000016c0  69 64 74 68 2c 68 65 69  67 68 74 2e 0a 0a 46 69  |idth,height...Fi|
000016d0  6e 61 6c 6c 79 20 74 68  65 20 54 45 4d 50 4c 41  |nally the TEMPLA|
000016e0  54 45 20 49 4e 46 4f 52  4d 41 54 49 4f 4e 20 55  |TE INFORMATION U|
000016f0  54 49 4c 49 54 59 0a 7e  7e 7e 7e 7e 7e 7e 7e 7e  |TILITY.~~~~~~~~~|
00001700  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 7e  |~~~~~~~~~~~~~~~~|
00001710  7e 7e 7e 7e 7e 7e 7e 7e  7e 7e 7e 7e 7e 7e 7e 0a  |~~~~~~~~~~~~~~~.|
00001720  0a 57 68 65 6e 20 79 6f  75 20 61 72 65 20 77 72  |.When you are wr|
00001730  69 74 69 6e 67 20 61 6e  20 61 70 70 6c 69 63 61  |iting an applica|
00001740  74 69 6f 6e 20 77 68 69  63 68 20 75 73 65 73 20  |tion which uses |
00001750  74 65 6d 70 6c 61 74 65  20 66 69 6c 65 73 2c 20  |template files, |
00001760  79 6f 75 20 6e 65 65 64  20 74 6f 0a 6b 6e 6f 77  |you need to.know|
00001770  20 32 20 74 68 69 6e 67  73 20 61 62 6f 75 74 20  | 2 things about |
00001780  74 68 65 20 66 69 6c 65  2e 20 20 4f 6e 65 20 69  |the file.  One i|
00001790  74 20 74 68 65 20 6d 69  6e 69 6d 75 6d 20 73 69  |t the minimum si|
000017a0  7a 65 20 6f 66 20 61 20  62 79 74 65 20 61 72 72  |ze of a byte arr|
000017b0  61 79 0a 77 68 69 63 68  20 77 69 6c 6c 20 74 65  |ay.which will te|
000017c0  6d 70 6f 72 61 72 69 6c  79 20 68 6f 6c 64 20 74  |mporarily hold t|
000017d0  68 65 20 6c 61 72 67 65  73 74 20 77 69 6e 64 6f  |he largest windo|
000017e0  77 20 64 65 66 69 6e 69  74 69 6f 6e 20 69 6e 20  |w definition in |
000017f0  74 68 65 20 66 69 6c 65  2e 20 20 54 68 65 0a 73  |the file.  The.s|
00001800  65 63 6f 6e 64 20 69 73  20 74 68 65 20 6d 69 6e  |econd is the min|
00001810  69 6d 75 6d 20 73 69 7a  65 20 6f 66 20 61 20 62  |imum size of a b|
00001820  79 74 65 20 61 72 72 61  79 20 74 68 61 74 20 77  |yte array that w|
00001830  69 6c 6c 20 68 6f 6c 64  20 61 6c 6c 20 74 68 65  |ill hold all the|
00001840  0a 69 6e 64 69 72 65 63  74 65 64 20 64 61 74 61  |.indirected data|
00001850  20 28 61 73 73 75 6d 69  6e 67 20 79 6f 75 20 61  | (assuming you a|
00001860  72 65 20 75 73 69 6e 67  20 6f 6e 65 20 61 72 72  |re using one arr|
00001870  61 79 20 66 6f 72 20 61  6c 6c 20 74 68 65 20 77  |ay for all the w|
00001880  69 6e 64 6f 77 73 29 0a  0a 54 68 65 73 65 20 74  |indows)..These t|
00001890  77 6f 20 61 72 65 20 71  75 69 74 65 20 63 6f 6d  |wo are quite com|
000018a0  70 6c 65 78 20 74 6f 20  77 6f 72 6b 20 6f 75 74  |plex to work out|
000018b0  2c 20 73 6f 20 69 66 20  79 6f 75 20 64 72 61 67  |, so if you drag|
000018c0  20 61 20 54 65 6d 70 6c  61 74 65 20 66 69 6c 65  | a Template file|
000018d0  0a 6f 6e 74 6f 20 74 68  65 20 69 63 6f 6e 20 62  |.onto the icon b|
000018e0  61 72 20 69 63 6f 6e 20  6f 72 20 61 6e 79 20 6f  |ar icon or any o|
000018f0  66 20 6d 79 20 77 69 6e  64 6f 77 73 20 74 68 65  |f my windows the|
00001900  6e 20 61 20 73 6d 61 6c  6c 20 77 69 6e 64 6f 77  |n a small window|
00001910  20 77 69 6c 6c 20 62 65  0a 6f 70 65 6e 65 64 2e  | will be.opened.|
00001920  20 20 54 68 69 73 20 77  69 6e 64 6f 77 20 74 65  |  This window te|
00001930  6c 6c 73 20 79 6f 75 20  68 6f 77 20 6d 61 6e 79  |lls you how many|
00001940  20 77 69 6e 64 6f 77 73  20 61 72 65 20 69 6e 20  | windows are in |
00001950  74 68 65 20 66 69 6c 65  2c 20 61 6e 64 20 74 68  |the file, and th|
00001960  65 0a 74 77 6f 20 76 61  6c 75 65 73 20 64 65 73  |e.two values des|
00001970  63 72 69 62 65 64 20 61  62 6f 76 65 2e 0a 0a 4e  |cribed above...N|
00001980  42 20 20 44 72 61 67 67  69 6e 67 20 61 6e 20 61  |B  Dragging an a|
00001990  70 70 6c 69 63 61 74 69  6f 6e 20 69 6e 73 74 65  |pplication inste|
000019a0  61 64 20 6f 66 20 61 20  74 65 6d 70 6c 61 74 65  |ad of a template|
000019b0  20 66 69 6c 65 20 77 69  6c 6c 20 6c 6f 6f 6b 20  | file will look |
000019c0  69 6e 73 69 64 65 20 74  68 65 0a 61 70 70 6c 69  |inside the.appli|
000019d0  63 61 74 69 6f 6e 20 66  6f 72 20 61 20 74 65 6d  |cation for a tem|
000019e0  70 6c 61 74 65 20 66 69  6c 65 2c 20 61 6e 64 20  |plate file, and |
000019f0  75 73 65 20 74 68 61 74  20 6f 6e 65 21 0a 0a     |use that one!..|
000019ff