Home » Archimedes archive » Acorn User » AU 1996-02.adf » Regulars » StarInfo/Fletcher/!NoCover/!Help
StarInfo/Fletcher/!NoCover/!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 » Acorn User » AU 1996-02.adf » Regulars |
| Filename: | StarInfo/Fletcher/!NoCover/!Help |
| Read OK: | ✔ |
| File size: | 2513 bytes |
| Load address: | 0000 |
| Exec address: | 0000 |
File contents
NoCoverIconBar
==============
Version 1.00 (05 Sep 1995)
Version 1.01 (06 Sep 1995)
Version 1.02 (22 Sep 1995)
Version 1.03 (29 Sep 1995)
Version 1.04 (01 Oct 1995)
Introduction
------------
A long time ago I discovered a configuration program which allowed you to set
the NoObscureIconBar bit (as noted it OSLib) in CMOS RAM, although there is
no actual use for it as the Wimp pays no heed what-so-ever to it. The
application was Config+, and whilst being an excellent utility it is somewhat
lacking by the fact that some of the options do not work (eg 3rd Party
crashed on my Machine), and the above flag does nothing. Whilst this is not
the programmers fault, I did find it a little annoying that the program could
not easily allow other users to write configuration programs in the same
vein.
Later, I saw an article in Acorn User about possible new features which might
appear in RiscOS 4. Whilst very vague, it did include some nice screen shots
from a RiscPC with a mock-up of what things might look like. Along with the
slabbed menus (available in PD by somebody whose name I forget - RiscPC only,
I believe) I saw an improved Configuration application. Although all the
windows were slabs (each had it's border raised) and I could see no easy way
to do this, I could see a simple manner in which the Config program could be
put together with third party options easily added in Libraries.
Hence ConfigPlus.
In the mean time, however, I was looking into OSLibs and found the NoObscure
IconBar bit I mentioned above, along with :
Desktop dither - very little use except in 4 and 2 colour modes
Tube - hang over from old Master days perhaps ?
NoTile - possibly special flag for tile_1 ?
VFS - Hmmm.
ROMFS - More hmmm.
IconCache - Not a clue :-)
ROMBatMan - along side the auto loaded ROM applications as the bottom bit :-)
The NoObscureIB flag looked interesting, so I quickly knocked together a
module to get around the problem of the wimp ignoring it.
Usage
-----
Run the !Run file. That's it.
One question will be asked of you. That is if you wish Ctrl-Shift to
cancel the shift action. Basically, if you hold down shift then the checks
for not covering the iconbar will be ignored. However, in some applications
like Zap you use Shift-Ctrl-G for full size and Shift-Ctrl-W for wide (well I
do anyway). Therefore if you don't set this, then this keeys will do as
asked, but the next time that the window is opened (probably on next key
press) the window will shink.
So, if you want Ctrl-Shift to bypass the bypass, then press Y or Select.
Hopefully, the code will be assembled with no errors and all that in
future will be required is the running of the resultant code file.
How it works
------------
Basically, it just patches the Wimp_OpenWindow call to modify it's parameters
using WimpSWIve (see below). The bottom of the window is limited to just
above the iconbar unless shift is pressed, the CMOS bit is unset, there is no
Adjust size or vertical scroll bar, or the title bar is below the iconbar
top. The toolsprites are taken into account by using Wimp_GetWindowInfo and
WimpGetWindowOutline (unlike many programs!).
A small patch is used to ensure that if you click on full size, you get full
size, as otherwise the window only opens downwards to the iconbar and stops.
This is peculiar, but thats what the Wimp does, so I had to work around it.
If you do click on the toggle icon, then the maximum height is found, and the top extended by that amount. Then it is clipped to the screen, also taking into
account the tool icons. Try it using the Mega set created by Edouard Poor and
see the effect!
A further modification is also made to any window with Force to screen on
next open, or bounded by screen and if this is the first open, bits are set.
This ensures that StrongHelp windows which, I think, are opened twice (or are
at least created in different positions to that in which they are opened),
open correctly (ie on the screen). For some peculiar reason (possibly related
to the above peculiar reason, but more likely due to the fact that I open the
window myself an extra time in the patch) these windows open with just half a
line showing at the top of the screen and the adjust size icon. This is
useful, but only if the information was contained in the bottom half of the
last line and you really needed to see the adjust size icon. If, like any
sane person (ie those who believe this), you would much prefer to see the
whole of the window, then the patched version is much more useful.
Bugs
----
One of the problems which I have not encountered (but guess could occur if
some programmer tried hard enough) is that some programs may check to see if
the window is full size and act differently on it if it is (ie try to force
full size); this may cause problems, but then again the same effect would
probably occur if the Wimp did the same thing, unless it modified the bits to
indicate that the window was at full size when on a line with the icon bar.
This problem mainly comes from the fact that there is no way to force a
window to full size (ie simulate click on Toggle size), because if you open
to a ridiculous size under RO3, you get a window which is ridiculously size,
rather than one which you would have got had you resized it using the resize
button. Ask Dominic Symes if the lack of this facility has caused him any
problems and I'm sure he'd say �no, but don't as me to do it again� (maybe he
won't, but I would!)
Disclaimer
----------
The author accepts no responsibility for any problems which this
application may cause or loss of data resulting in its use. This application
is Public Domain. This means that it may be distributed, so long as no charge
other than copying costs are charged for it.
Source code
-----------
This program requires the !JFPatch pre-assembler to make the code. This is
a simple text-to-basic assembler which takes a text assembler file, makes a
basic program from it to assemble, assembles it and returns any errors.
Currently, it is under development and requires a lot of work before it will
be released in any form. As such, the patch file is mostly useless, but must
be distributed with the resultant module.
All source code an the resultant module must be distributed together.
WimpSWIVe
---------
This program require WimpSWIve to be installed before it will run
correctly. It provides easy access to filtering Wimp calls other than
Wimp_Poll (provided by FilterManager) and is provided with NewerLook (which
is ok, but takes a bit of getting used to).
The WimpSWIVe module is � Andrew Clover, and if copied should be copied
with the documentation which is provided. Refer to the file WSWI-Help for
more details.
Contact
-------
Any comments, queries, donations or bug reports can be sent to :
Fidonet NetMail : Justin Fletcher at Arcade (0181 655 4412) [2:254/27]
E-Mail : Gerph@arcade.demon.co.uk
Snail Mail :
Justin Fletcher
�Galadriel�
17b Cromwell Road,
Weeting,
Brandon,
Suffolk.
IP27 0QT
History
-------
Version 1.00 : 05 Sep 1995
First version written. Simply locked the bottom of every
window to the icon bar if they were below it, unless the title
was above it. Didn't work particularly well if the window you
wanted to move was one without an adjust size icon.
Version 1.01 : 05 Sep 1995
Added support for CMOS bit, and checks for Vertical bar and
adjust size icon. A little more work provided a toggle size
which worked correctly, locking to top of screen.
Version 1.02 : 22 Sep 1995
Support for Force to screen next Open Window, and bounded
windows by using some modified code from the original
checktoggle size routine.
Should work in most instances now, and with the new SetCMOS
utility could give a really easy way to set that type of
thing!
Oh, and must remember to turn off the testing comments !
Version 1.03 : 29 Sep 1995
Initial window opening if closed changed to using new block
rather than old. Also re-gets state into user buffer.
Bug fix so that if you pass over toggle icons whilst it is
opening the window does not pop to full size - you need to
have clicked it.
Added Ctrl-Shift bypass bypass :-)
Version 1.04 : 01 Oct 1995
Fixed bug with Ctrl-Shift which meant that it didn't actually
do anything :-(
Minor bug fix for SharedCLibrary based applications, eg !Draw
Draw would crash with an Address exception because the extra
Wimp_GetWindowState into the user block would corrupt word 9
(bytes 32-35) as this is not used by Wimp_OpenWindow. C being
more memory conscious than the average person would spot this
and only allocate enough space for the Wimp_OpenWindow block
and hence had some vital information overwritten. Yuck! Took
me ages to spot that.
PS. In case you were interested, the Don't Obscure Icon Bar bit is bit 4 of
CMOS byte 28, set it with something like *SetCMOS 28 16 16, unset with
*SetCMOS 28 0 16.
00000000 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000020 20 4e 6f 43 6f 76 65 72 49 63 6f 6e 42 61 72 0a | NoCoverIconBar.| 00000030 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000050 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a | ==============.| 00000060 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | * 00000080 20 0a 56 65 72 73 69 6f 6e 20 31 2e 30 30 20 28 | .Version 1.00 (| 00000090 30 35 20 53 65 70 20 31 39 39 35 29 0a 56 65 72 |05 Sep 1995).Ver| 000000a0 73 69 6f 6e 20 31 2e 30 31 20 28 30 36 20 53 65 |sion 1.01 (06 Se| 000000b0 70 20 31 39 39 35 29 0a 56 65 72 73 69 6f 6e 20 |p 1995).Version | 000000c0 31 2e 30 32 20 28 32 32 20 53 65 70 20 31 39 39 |1.02 (22 Sep 199| 000000d0 35 29 0a 56 65 72 73 69 6f 6e 20 31 2e 30 33 20 |5).Version 1.03 | 000000e0 28 32 39 20 53 65 70 20 31 39 39 35 29 0a 56 65 |(29 Sep 1995).Ve| 000000f0 72 73 69 6f 6e 20 31 2e 30 34 20 28 30 31 20 4f |rsion 1.04 (01 O| 00000100 63 74 20 31 39 39 35 29 0a 0a 49 6e 74 72 6f 64 |ct 1995)..Introd| 00000110 75 63 74 69 6f 6e 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d |uction.---------| 00000120 2d 2d 2d 0a 41 20 6c 6f 6e 67 20 74 69 6d 65 20 |---.A long time | 00000130 61 67 6f 20 49 20 64 69 73 63 6f 76 65 72 65 64 |ago I discovered| 00000140 20 61 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e | a configuration| 00000150 20 70 72 6f 67 72 61 6d 20 77 68 69 63 68 20 61 | program which a| 00000160 6c 6c 6f 77 65 64 20 79 6f 75 20 74 6f 20 73 65 |llowed you to se| 00000170 74 0a 74 68 65 20 4e 6f 4f 62 73 63 75 72 65 49 |t.the NoObscureI| 00000180 63 6f 6e 42 61 72 20 62 69 74 20 28 61 73 20 6e |conBar bit (as n| 00000190 6f 74 65 64 20 69 74 20 4f 53 4c 69 62 29 20 69 |oted it OSLib) i| 000001a0 6e 20 43 4d 4f 53 20 52 41 4d 2c 20 61 6c 74 68 |n CMOS RAM, alth| 000001b0 6f 75 67 68 20 74 68 65 72 65 20 69 73 0a 6e 6f |ough there is.no| 000001c0 20 61 63 74 75 61 6c 20 75 73 65 20 66 6f 72 20 | actual use for | 000001d0 69 74 20 61 73 20 74 68 65 20 57 69 6d 70 20 70 |it as the Wimp p| 000001e0 61 79 73 20 6e 6f 20 68 65 65 64 20 77 68 61 74 |ays no heed what| 000001f0 2d 73 6f 2d 65 76 65 72 20 74 6f 20 69 74 2e 20 |-so-ever to it. | 00000200 54 68 65 0a 61 70 70 6c 69 63 61 74 69 6f 6e 20 |The.application | 00000210 77 61 73 20 43 6f 6e 66 69 67 2b 2c 20 61 6e 64 |was Config+, and| 00000220 20 77 68 69 6c 73 74 20 62 65 69 6e 67 20 61 6e | whilst being an| 00000230 20 65 78 63 65 6c 6c 65 6e 74 20 75 74 69 6c 69 | excellent utili| 00000240 74 79 20 69 74 20 69 73 20 73 6f 6d 65 77 68 61 |ty it is somewha| 00000250 74 0a 6c 61 63 6b 69 6e 67 20 62 79 20 74 68 65 |t.lacking by the| 00000260 20 66 61 63 74 20 74 68 61 74 20 73 6f 6d 65 20 | fact that some | 00000270 6f 66 20 74 68 65 20 6f 70 74 69 6f 6e 73 20 64 |of the options d| 00000280 6f 20 6e 6f 74 20 77 6f 72 6b 20 28 65 67 20 33 |o not work (eg 3| 00000290 72 64 20 50 61 72 74 79 0a 63 72 61 73 68 65 64 |rd Party.crashed| 000002a0 20 6f 6e 20 6d 79 20 4d 61 63 68 69 6e 65 29 2c | on my Machine),| 000002b0 20 61 6e 64 20 74 68 65 20 61 62 6f 76 65 20 66 | and the above f| 000002c0 6c 61 67 20 64 6f 65 73 20 6e 6f 74 68 69 6e 67 |lag does nothing| 000002d0 2e 20 57 68 69 6c 73 74 20 74 68 69 73 20 69 73 |. Whilst this is| 000002e0 20 6e 6f 74 0a 74 68 65 20 70 72 6f 67 72 61 6d | not.the program| 000002f0 6d 65 72 73 20 66 61 75 6c 74 2c 20 49 20 64 69 |mers fault, I di| 00000300 64 20 66 69 6e 64 20 69 74 20 61 20 6c 69 74 74 |d find it a litt| 00000310 6c 65 20 61 6e 6e 6f 79 69 6e 67 20 74 68 61 74 |le annoying that| 00000320 20 74 68 65 20 70 72 6f 67 72 61 6d 20 63 6f 75 | the program cou| 00000330 6c 64 0a 6e 6f 74 20 65 61 73 69 6c 79 20 61 6c |ld.not easily al| 00000340 6c 6f 77 20 6f 74 68 65 72 20 75 73 65 72 73 20 |low other users | 00000350 74 6f 20 77 72 69 74 65 20 63 6f 6e 66 69 67 75 |to write configu| 00000360 72 61 74 69 6f 6e 20 70 72 6f 67 72 61 6d 73 20 |ration programs | 00000370 69 6e 20 74 68 65 20 73 61 6d 65 0a 76 65 69 6e |in the same.vein| 00000380 2e 0a 0a 4c 61 74 65 72 2c 20 49 20 73 61 77 20 |...Later, I saw | 00000390 61 6e 20 61 72 74 69 63 6c 65 20 69 6e 20 41 63 |an article in Ac| 000003a0 6f 72 6e 20 55 73 65 72 20 61 62 6f 75 74 20 70 |orn User about p| 000003b0 6f 73 73 69 62 6c 65 20 6e 65 77 20 66 65 61 74 |ossible new feat| 000003c0 75 72 65 73 20 77 68 69 63 68 20 6d 69 67 68 74 |ures which might| 000003d0 0a 61 70 70 65 61 72 20 69 6e 20 52 69 73 63 4f |.appear in RiscO| 000003e0 53 20 34 2e 20 57 68 69 6c 73 74 20 76 65 72 79 |S 4. Whilst very| 000003f0 20 76 61 67 75 65 2c 20 69 74 20 64 69 64 20 69 | vague, it did i| 00000400 6e 63 6c 75 64 65 20 73 6f 6d 65 20 6e 69 63 65 |nclude some nice| 00000410 20 73 63 72 65 65 6e 20 73 68 6f 74 73 0a 66 72 | screen shots.fr| 00000420 6f 6d 20 61 20 52 69 73 63 50 43 20 77 69 74 68 |om a RiscPC with| 00000430 20 61 20 6d 6f 63 6b 2d 75 70 20 6f 66 20 77 68 | a mock-up of wh| 00000440 61 74 20 74 68 69 6e 67 73 20 6d 69 67 68 74 20 |at things might | 00000450 6c 6f 6f 6b 20 6c 69 6b 65 2e 20 41 6c 6f 6e 67 |look like. Along| 00000460 20 77 69 74 68 20 74 68 65 0a 73 6c 61 62 62 65 | with the.slabbe| 00000470 64 20 6d 65 6e 75 73 20 28 61 76 61 69 6c 61 62 |d menus (availab| 00000480 6c 65 20 69 6e 20 50 44 20 62 79 20 73 6f 6d 65 |le in PD by some| 00000490 62 6f 64 79 20 77 68 6f 73 65 20 6e 61 6d 65 20 |body whose name | 000004a0 49 20 66 6f 72 67 65 74 20 2d 20 52 69 73 63 50 |I forget - RiscP| 000004b0 43 20 6f 6e 6c 79 2c 0a 49 20 62 65 6c 69 65 76 |C only,.I believ| 000004c0 65 29 20 49 20 73 61 77 20 61 6e 20 69 6d 70 72 |e) I saw an impr| 000004d0 6f 76 65 64 20 43 6f 6e 66 69 67 75 72 61 74 69 |oved Configurati| 000004e0 6f 6e 20 61 70 70 6c 69 63 61 74 69 6f 6e 2e 20 |on application. | 000004f0 41 6c 74 68 6f 75 67 68 20 61 6c 6c 20 74 68 65 |Although all the| 00000500 0a 77 69 6e 64 6f 77 73 20 77 65 72 65 20 73 6c |.windows were sl| 00000510 61 62 73 20 28 65 61 63 68 20 68 61 64 20 69 74 |abs (each had it| 00000520 27 73 20 62 6f 72 64 65 72 20 72 61 69 73 65 64 |'s border raised| 00000530 29 20 61 6e 64 20 49 20 63 6f 75 6c 64 20 73 65 |) and I could se| 00000540 65 20 6e 6f 20 65 61 73 79 20 77 61 79 0a 74 6f |e no easy way.to| 00000550 20 64 6f 20 74 68 69 73 2c 20 49 20 63 6f 75 6c | do this, I coul| 00000560 64 20 73 65 65 20 61 20 73 69 6d 70 6c 65 20 6d |d see a simple m| 00000570 61 6e 6e 65 72 20 69 6e 20 77 68 69 63 68 20 74 |anner in which t| 00000580 68 65 20 43 6f 6e 66 69 67 20 70 72 6f 67 72 61 |he Config progra| 00000590 6d 20 63 6f 75 6c 64 20 62 65 0a 70 75 74 20 74 |m could be.put t| 000005a0 6f 67 65 74 68 65 72 20 77 69 74 68 20 74 68 69 |ogether with thi| 000005b0 72 64 20 70 61 72 74 79 20 6f 70 74 69 6f 6e 73 |rd party options| 000005c0 20 65 61 73 69 6c 79 20 61 64 64 65 64 20 69 6e | easily added in| 000005d0 20 4c 69 62 72 61 72 69 65 73 2e 0a 0a 48 65 6e | Libraries...Hen| 000005e0 63 65 20 43 6f 6e 66 69 67 50 6c 75 73 2e 0a 0a |ce ConfigPlus...| 000005f0 49 6e 20 74 68 65 20 6d 65 61 6e 20 74 69 6d 65 |In the mean time| 00000600 2c 20 68 6f 77 65 76 65 72 2c 20 49 20 77 61 73 |, however, I was| 00000610 20 6c 6f 6f 6b 69 6e 67 20 69 6e 74 6f 20 4f 53 | looking into OS| 00000620 4c 69 62 73 20 61 6e 64 20 66 6f 75 6e 64 20 74 |Libs and found t| 00000630 68 65 20 4e 6f 4f 62 73 63 75 72 65 0a 49 63 6f |he NoObscure.Ico| 00000640 6e 42 61 72 20 62 69 74 20 49 20 6d 65 6e 74 69 |nBar bit I menti| 00000650 6f 6e 65 64 20 61 62 6f 76 65 2c 20 61 6c 6f 6e |oned above, alon| 00000660 67 20 77 69 74 68 20 3a 0a 44 65 73 6b 74 6f 70 |g with :.Desktop| 00000670 20 64 69 74 68 65 72 20 2d 20 76 65 72 79 20 6c | dither - very l| 00000680 69 74 74 6c 65 20 75 73 65 20 65 78 63 65 70 74 |ittle use except| 00000690 20 69 6e 20 34 20 61 6e 64 20 32 20 63 6f 6c 6f | in 4 and 2 colo| 000006a0 75 72 20 6d 6f 64 65 73 0a 54 75 62 65 20 2d 20 |ur modes.Tube - | 000006b0 68 61 6e 67 20 6f 76 65 72 20 66 72 6f 6d 20 6f |hang over from o| 000006c0 6c 64 20 4d 61 73 74 65 72 20 64 61 79 73 20 70 |ld Master days p| 000006d0 65 72 68 61 70 73 20 3f 0a 4e 6f 54 69 6c 65 20 |erhaps ?.NoTile | 000006e0 2d 20 70 6f 73 73 69 62 6c 79 20 73 70 65 63 69 |- possibly speci| 000006f0 61 6c 20 66 6c 61 67 20 66 6f 72 20 74 69 6c 65 |al flag for tile| 00000700 5f 31 20 3f 0a 56 46 53 20 2d 20 48 6d 6d 6d 2e |_1 ?.VFS - Hmmm.| 00000710 0a 52 4f 4d 46 53 20 2d 20 4d 6f 72 65 20 68 6d |.ROMFS - More hm| 00000720 6d 6d 2e 0a 49 63 6f 6e 43 61 63 68 65 20 2d 20 |mm..IconCache - | 00000730 4e 6f 74 20 61 20 63 6c 75 65 20 3a 2d 29 0a 52 |Not a clue :-).R| 00000740 4f 4d 42 61 74 4d 61 6e 20 2d 20 61 6c 6f 6e 67 |OMBatMan - along| 00000750 20 73 69 64 65 20 74 68 65 20 61 75 74 6f 20 6c | side the auto l| 00000760 6f 61 64 65 64 20 52 4f 4d 20 61 70 70 6c 69 63 |oaded ROM applic| 00000770 61 74 69 6f 6e 73 20 61 73 20 74 68 65 20 62 6f |ations as the bo| 00000780 74 74 6f 6d 20 62 69 74 20 3a 2d 29 0a 0a 54 68 |ttom bit :-)..Th| 00000790 65 20 4e 6f 4f 62 73 63 75 72 65 49 42 20 66 6c |e NoObscureIB fl| 000007a0 61 67 20 6c 6f 6f 6b 65 64 20 69 6e 74 65 72 65 |ag looked intere| 000007b0 73 74 69 6e 67 2c 20 73 6f 20 49 20 71 75 69 63 |sting, so I quic| 000007c0 6b 6c 79 20 6b 6e 6f 63 6b 65 64 20 74 6f 67 65 |kly knocked toge| 000007d0 74 68 65 72 20 61 0a 6d 6f 64 75 6c 65 20 74 6f |ther a.module to| 000007e0 20 67 65 74 20 61 72 6f 75 6e 64 20 74 68 65 20 | get around the | 000007f0 70 72 6f 62 6c 65 6d 20 6f 66 20 74 68 65 20 77 |problem of the w| 00000800 69 6d 70 20 69 67 6e 6f 72 69 6e 67 20 69 74 2e |imp ignoring it.| 00000810 0a 0a 0a 55 73 61 67 65 0a 2d 2d 2d 2d 2d 0a 20 |...Usage.-----. | 00000820 20 20 52 75 6e 20 74 68 65 20 21 52 75 6e 20 66 | Run the !Run f| 00000830 69 6c 65 2e 20 54 68 61 74 27 73 20 69 74 2e 0a |ile. That's it..| 00000840 20 20 20 4f 6e 65 20 71 75 65 73 74 69 6f 6e 20 | One question | 00000850 77 69 6c 6c 20 62 65 20 61 73 6b 65 64 20 6f 66 |will be asked of| 00000860 20 79 6f 75 2e 20 54 68 61 74 20 69 73 20 69 66 | you. That is if| 00000870 20 79 6f 75 20 77 69 73 68 20 43 74 72 6c 2d 53 | you wish Ctrl-S| 00000880 68 69 66 74 20 74 6f 0a 63 61 6e 63 65 6c 20 74 |hift to.cancel t| 00000890 68 65 20 73 68 69 66 74 20 61 63 74 69 6f 6e 2e |he shift action.| 000008a0 20 42 61 73 69 63 61 6c 6c 79 2c 20 69 66 20 79 | Basically, if y| 000008b0 6f 75 20 68 6f 6c 64 20 64 6f 77 6e 20 73 68 69 |ou hold down shi| 000008c0 66 74 20 74 68 65 6e 20 74 68 65 20 63 68 65 63 |ft then the chec| 000008d0 6b 73 0a 66 6f 72 20 6e 6f 74 20 63 6f 76 65 72 |ks.for not cover| 000008e0 69 6e 67 20 74 68 65 20 69 63 6f 6e 62 61 72 20 |ing the iconbar | 000008f0 77 69 6c 6c 20 62 65 20 69 67 6e 6f 72 65 64 2e |will be ignored.| 00000900 20 48 6f 77 65 76 65 72 2c 20 69 6e 20 73 6f 6d | However, in som| 00000910 65 20 61 70 70 6c 69 63 61 74 69 6f 6e 73 0a 6c |e applications.l| 00000920 69 6b 65 20 5a 61 70 20 79 6f 75 20 75 73 65 20 |ike Zap you use | 00000930 53 68 69 66 74 2d 43 74 72 6c 2d 47 20 66 6f 72 |Shift-Ctrl-G for| 00000940 20 66 75 6c 6c 20 73 69 7a 65 20 61 6e 64 20 53 | full size and S| 00000950 68 69 66 74 2d 43 74 72 6c 2d 57 20 66 6f 72 20 |hift-Ctrl-W for | 00000960 77 69 64 65 20 28 77 65 6c 6c 20 49 0a 64 6f 20 |wide (well I.do | 00000970 61 6e 79 77 61 79 29 2e 20 54 68 65 72 65 66 6f |anyway). Therefo| 00000980 72 65 20 69 66 20 79 6f 75 20 64 6f 6e 27 74 20 |re if you don't | 00000990 73 65 74 20 74 68 69 73 2c 20 74 68 65 6e 20 74 |set this, then t| 000009a0 68 69 73 20 6b 65 65 79 73 20 77 69 6c 6c 20 64 |his keeys will d| 000009b0 6f 20 61 73 0a 61 73 6b 65 64 2c 20 62 75 74 20 |o as.asked, but | 000009c0 74 68 65 20 6e 65 78 74 20 74 69 6d 65 20 74 68 |the next time th| 000009d0 61 74 20 74 68 65 20 77 69 6e 64 6f 77 20 69 73 |at the window is| 000009e0 20 6f 70 65 6e 65 64 20 28 70 72 6f 62 61 62 6c | opened (probabl| 000009f0 79 20 6f 6e 20 6e 65 78 74 20 6b 65 79 0a 70 72 |y on next key.pr| 00000a00 65 73 73 29 20 74 68 65 20 77 69 6e 64 6f 77 20 |ess) the window | 00000a10 77 69 6c 6c 20 73 68 69 6e 6b 2e 0a 20 20 20 53 |will shink.. S| 00000a20 6f 2c 20 69 66 20 79 6f 75 20 77 61 6e 74 20 43 |o, if you want C| 00000a30 74 72 6c 2d 53 68 69 66 74 20 74 6f 20 62 79 70 |trl-Shift to byp| 00000a40 61 73 73 20 74 68 65 20 62 79 70 61 73 73 2c 20 |ass the bypass, | 00000a50 74 68 65 6e 20 70 72 65 73 73 20 59 20 6f 72 20 |then press Y or | 00000a60 53 65 6c 65 63 74 2e 0a 20 20 20 48 6f 70 65 66 |Select.. Hopef| 00000a70 75 6c 6c 79 2c 20 74 68 65 20 63 6f 64 65 20 77 |ully, the code w| 00000a80 69 6c 6c 20 62 65 20 61 73 73 65 6d 62 6c 65 64 |ill be assembled| 00000a90 20 77 69 74 68 20 6e 6f 20 65 72 72 6f 72 73 20 | with no errors | 00000aa0 61 6e 64 20 61 6c 6c 20 74 68 61 74 20 69 6e 0a |and all that in.| 00000ab0 66 75 74 75 72 65 20 77 69 6c 6c 20 62 65 20 72 |future will be r| 00000ac0 65 71 75 69 72 65 64 20 69 73 20 74 68 65 20 72 |equired is the r| 00000ad0 75 6e 6e 69 6e 67 20 6f 66 20 74 68 65 20 72 65 |unning of the re| 00000ae0 73 75 6c 74 61 6e 74 20 63 6f 64 65 20 66 69 6c |sultant code fil| 00000af0 65 2e 0a 20 20 20 20 0a 48 6f 77 20 69 74 20 77 |e.. .How it w| 00000b00 6f 72 6b 73 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |orks.-----------| 00000b10 2d 0a 42 61 73 69 63 61 6c 6c 79 2c 20 69 74 20 |-.Basically, it | 00000b20 6a 75 73 74 20 70 61 74 63 68 65 73 20 74 68 65 |just patches the| 00000b30 20 57 69 6d 70 5f 4f 70 65 6e 57 69 6e 64 6f 77 | Wimp_OpenWindow| 00000b40 20 63 61 6c 6c 20 74 6f 20 6d 6f 64 69 66 79 20 | call to modify | 00000b50 69 74 27 73 20 70 61 72 61 6d 65 74 65 72 73 0a |it's parameters.| 00000b60 75 73 69 6e 67 20 57 69 6d 70 53 57 49 76 65 20 |using WimpSWIve | 00000b70 28 73 65 65 20 62 65 6c 6f 77 29 2e 20 54 68 65 |(see below). The| 00000b80 20 62 6f 74 74 6f 6d 20 6f 66 20 74 68 65 20 77 | bottom of the w| 00000b90 69 6e 64 6f 77 20 69 73 20 6c 69 6d 69 74 65 64 |indow is limited| 00000ba0 20 74 6f 20 6a 75 73 74 0a 61 62 6f 76 65 20 74 | to just.above t| 00000bb0 68 65 20 69 63 6f 6e 62 61 72 20 75 6e 6c 65 73 |he iconbar unles| 00000bc0 73 20 73 68 69 66 74 20 69 73 20 70 72 65 73 73 |s shift is press| 00000bd0 65 64 2c 20 74 68 65 20 43 4d 4f 53 20 62 69 74 |ed, the CMOS bit| 00000be0 20 69 73 20 75 6e 73 65 74 2c 20 74 68 65 72 65 | is unset, there| 00000bf0 20 69 73 20 6e 6f 0a 41 64 6a 75 73 74 20 73 69 | is no.Adjust si| 00000c00 7a 65 20 6f 72 20 76 65 72 74 69 63 61 6c 20 73 |ze or vertical s| 00000c10 63 72 6f 6c 6c 20 62 61 72 2c 20 6f 72 20 74 68 |croll bar, or th| 00000c20 65 20 74 69 74 6c 65 20 62 61 72 20 69 73 20 62 |e title bar is b| 00000c30 65 6c 6f 77 20 74 68 65 20 69 63 6f 6e 62 61 72 |elow the iconbar| 00000c40 0a 74 6f 70 2e 20 54 68 65 20 74 6f 6f 6c 73 70 |.top. The toolsp| 00000c50 72 69 74 65 73 20 61 72 65 20 74 61 6b 65 6e 20 |rites are taken | 00000c60 69 6e 74 6f 20 61 63 63 6f 75 6e 74 20 62 79 20 |into account by | 00000c70 75 73 69 6e 67 20 57 69 6d 70 5f 47 65 74 57 69 |using Wimp_GetWi| 00000c80 6e 64 6f 77 49 6e 66 6f 20 61 6e 64 0a 57 69 6d |ndowInfo and.Wim| 00000c90 70 47 65 74 57 69 6e 64 6f 77 4f 75 74 6c 69 6e |pGetWindowOutlin| 00000ca0 65 20 28 75 6e 6c 69 6b 65 20 6d 61 6e 79 20 70 |e (unlike many p| 00000cb0 72 6f 67 72 61 6d 73 21 29 2e 0a 0a 41 20 73 6d |rograms!)...A sm| 00000cc0 61 6c 6c 20 70 61 74 63 68 20 69 73 20 75 73 65 |all patch is use| 00000cd0 64 20 74 6f 20 65 6e 73 75 72 65 20 74 68 61 74 |d to ensure that| 00000ce0 20 69 66 20 79 6f 75 20 63 6c 69 63 6b 20 6f 6e | if you click on| 00000cf0 20 66 75 6c 6c 20 73 69 7a 65 2c 20 79 6f 75 20 | full size, you | 00000d00 67 65 74 20 66 75 6c 6c 0a 73 69 7a 65 2c 20 61 |get full.size, a| 00000d10 73 20 6f 74 68 65 72 77 69 73 65 20 74 68 65 20 |s otherwise the | 00000d20 77 69 6e 64 6f 77 20 6f 6e 6c 79 20 6f 70 65 6e |window only open| 00000d30 73 20 64 6f 77 6e 77 61 72 64 73 20 74 6f 20 74 |s downwards to t| 00000d40 68 65 20 69 63 6f 6e 62 61 72 20 61 6e 64 20 73 |he iconbar and s| 00000d50 74 6f 70 73 2e 0a 54 68 69 73 20 69 73 20 70 65 |tops..This is pe| 00000d60 63 75 6c 69 61 72 2c 20 62 75 74 20 74 68 61 74 |culiar, but that| 00000d70 73 20 77 68 61 74 20 74 68 65 20 57 69 6d 70 20 |s what the Wimp | 00000d80 64 6f 65 73 2c 20 73 6f 20 49 20 68 61 64 20 74 |does, so I had t| 00000d90 6f 20 77 6f 72 6b 20 61 72 6f 75 6e 64 20 69 74 |o work around it| 00000da0 2e 0a 49 66 20 79 6f 75 20 64 6f 20 63 6c 69 63 |..If you do clic| 00000db0 6b 20 6f 6e 20 74 68 65 20 74 6f 67 67 6c 65 20 |k on the toggle | 00000dc0 69 63 6f 6e 2c 20 74 68 65 6e 20 74 68 65 20 6d |icon, then the m| 00000dd0 61 78 69 6d 75 6d 20 68 65 69 67 68 74 20 69 73 |aximum height is| 00000de0 20 66 6f 75 6e 64 2c 20 61 6e 64 20 74 68 65 20 | found, and the | 00000df0 74 6f 70 20 65 78 74 65 6e 64 65 64 20 62 79 20 |top extended by | 00000e00 74 68 61 74 20 61 6d 6f 75 6e 74 2e 20 54 68 65 |that amount. The| 00000e10 6e 20 69 74 20 69 73 20 63 6c 69 70 70 65 64 20 |n it is clipped | 00000e20 74 6f 20 74 68 65 20 73 63 72 65 65 6e 2c 20 61 |to the screen, a| 00000e30 6c 73 6f 20 74 61 6b 69 6e 67 20 69 6e 74 6f 0a |lso taking into.| 00000e40 61 63 63 6f 75 6e 74 20 74 68 65 20 74 6f 6f 6c |account the tool| 00000e50 20 69 63 6f 6e 73 2e 20 54 72 79 20 69 74 20 75 | icons. Try it u| 00000e60 73 69 6e 67 20 74 68 65 20 4d 65 67 61 20 73 65 |sing the Mega se| 00000e70 74 20 63 72 65 61 74 65 64 20 62 79 20 45 64 6f |t created by Edo| 00000e80 75 61 72 64 20 50 6f 6f 72 20 61 6e 64 0a 73 65 |uard Poor and.se| 00000e90 65 20 74 68 65 20 65 66 66 65 63 74 21 0a 0a 41 |e the effect!..A| 00000ea0 20 66 75 72 74 68 65 72 20 6d 6f 64 69 66 69 63 | further modific| 00000eb0 61 74 69 6f 6e 20 69 73 20 61 6c 73 6f 20 6d 61 |ation is also ma| 00000ec0 64 65 20 74 6f 20 61 6e 79 20 77 69 6e 64 6f 77 |de to any window| 00000ed0 20 77 69 74 68 20 46 6f 72 63 65 20 74 6f 20 73 | with Force to s| 00000ee0 63 72 65 65 6e 20 6f 6e 0a 6e 65 78 74 20 6f 70 |creen on.next op| 00000ef0 65 6e 2c 20 6f 72 20 62 6f 75 6e 64 65 64 20 62 |en, or bounded b| 00000f00 79 20 73 63 72 65 65 6e 20 61 6e 64 20 69 66 20 |y screen and if | 00000f10 74 68 69 73 20 69 73 20 74 68 65 20 66 69 72 73 |this is the firs| 00000f20 74 20 6f 70 65 6e 2c 20 62 69 74 73 20 61 72 65 |t open, bits are| 00000f30 20 73 65 74 2e 0a 54 68 69 73 20 65 6e 73 75 72 | set..This ensur| 00000f40 65 73 20 74 68 61 74 20 53 74 72 6f 6e 67 48 65 |es that StrongHe| 00000f50 6c 70 20 77 69 6e 64 6f 77 73 20 77 68 69 63 68 |lp windows which| 00000f60 2c 20 49 20 74 68 69 6e 6b 2c 20 61 72 65 20 6f |, I think, are o| 00000f70 70 65 6e 65 64 20 74 77 69 63 65 20 28 6f 72 20 |pened twice (or | 00000f80 61 72 65 0a 61 74 20 6c 65 61 73 74 20 63 72 65 |are.at least cre| 00000f90 61 74 65 64 20 69 6e 20 64 69 66 66 65 72 65 6e |ated in differen| 00000fa0 74 20 70 6f 73 69 74 69 6f 6e 73 20 74 6f 20 74 |t positions to t| 00000fb0 68 61 74 20 69 6e 20 77 68 69 63 68 20 74 68 65 |hat in which the| 00000fc0 79 20 61 72 65 20 6f 70 65 6e 65 64 29 2c 0a 6f |y are opened),.o| 00000fd0 70 65 6e 20 63 6f 72 72 65 63 74 6c 79 20 28 69 |pen correctly (i| 00000fe0 65 20 6f 6e 20 74 68 65 20 73 63 72 65 65 6e 29 |e on the screen)| 00000ff0 2e 20 46 6f 72 20 73 6f 6d 65 20 70 65 63 75 6c |. For some pecul| 00001000 69 61 72 20 72 65 61 73 6f 6e 20 28 70 6f 73 73 |iar reason (poss| 00001010 69 62 6c 79 20 72 65 6c 61 74 65 64 0a 74 6f 20 |ibly related.to | 00001020 74 68 65 20 61 62 6f 76 65 20 70 65 63 75 6c 69 |the above peculi| 00001030 61 72 20 72 65 61 73 6f 6e 2c 20 62 75 74 20 6d |ar reason, but m| 00001040 6f 72 65 20 6c 69 6b 65 6c 79 20 64 75 65 20 74 |ore likely due t| 00001050 6f 20 74 68 65 20 66 61 63 74 20 74 68 61 74 20 |o the fact that | 00001060 49 20 6f 70 65 6e 20 74 68 65 0a 77 69 6e 64 6f |I open the.windo| 00001070 77 20 6d 79 73 65 6c 66 20 61 6e 20 65 78 74 72 |w myself an extr| 00001080 61 20 74 69 6d 65 20 69 6e 20 74 68 65 20 70 61 |a time in the pa| 00001090 74 63 68 29 20 74 68 65 73 65 20 77 69 6e 64 6f |tch) these windo| 000010a0 77 73 20 6f 70 65 6e 20 77 69 74 68 20 6a 75 73 |ws open with jus| 000010b0 74 20 68 61 6c 66 20 61 0a 6c 69 6e 65 20 73 68 |t half a.line sh| 000010c0 6f 77 69 6e 67 20 61 74 20 74 68 65 20 74 6f 70 |owing at the top| 000010d0 20 6f 66 20 74 68 65 20 73 63 72 65 65 6e 20 61 | of the screen a| 000010e0 6e 64 20 74 68 65 20 61 64 6a 75 73 74 20 73 69 |nd the adjust si| 000010f0 7a 65 20 69 63 6f 6e 2e 20 54 68 69 73 20 69 73 |ze icon. This is| 00001100 0a 75 73 65 66 75 6c 2c 20 62 75 74 20 6f 6e 6c |.useful, but onl| 00001110 79 20 69 66 20 74 68 65 20 69 6e 66 6f 72 6d 61 |y if the informa| 00001120 74 69 6f 6e 20 77 61 73 20 63 6f 6e 74 61 69 6e |tion was contain| 00001130 65 64 20 69 6e 20 74 68 65 20 62 6f 74 74 6f 6d |ed in the bottom| 00001140 20 68 61 6c 66 20 6f 66 20 74 68 65 0a 6c 61 73 | half of the.las| 00001150 74 20 6c 69 6e 65 20 61 6e 64 20 79 6f 75 20 72 |t line and you r| 00001160 65 61 6c 6c 79 20 6e 65 65 64 65 64 20 74 6f 20 |eally needed to | 00001170 73 65 65 20 74 68 65 20 61 64 6a 75 73 74 20 73 |see the adjust s| 00001180 69 7a 65 20 69 63 6f 6e 2e 20 49 66 2c 20 6c 69 |ize icon. If, li| 00001190 6b 65 20 61 6e 79 0a 73 61 6e 65 20 70 65 72 73 |ke any.sane pers| 000011a0 6f 6e 20 28 69 65 20 74 68 6f 73 65 20 77 68 6f |on (ie those who| 000011b0 20 62 65 6c 69 65 76 65 20 74 68 69 73 29 2c 20 | believe this), | 000011c0 79 6f 75 20 77 6f 75 6c 64 20 6d 75 63 68 20 70 |you would much p| 000011d0 72 65 66 65 72 20 74 6f 20 73 65 65 20 74 68 65 |refer to see the| 000011e0 0a 77 68 6f 6c 65 20 6f 66 20 74 68 65 20 77 69 |.whole of the wi| 000011f0 6e 64 6f 77 2c 20 74 68 65 6e 20 74 68 65 20 70 |ndow, then the p| 00001200 61 74 63 68 65 64 20 76 65 72 73 69 6f 6e 20 69 |atched version i| 00001210 73 20 6d 75 63 68 20 6d 6f 72 65 20 75 73 65 66 |s much more usef| 00001220 75 6c 2e 0a 0a 0a 42 75 67 73 0a 2d 2d 2d 2d 0a |ul....Bugs.----.| 00001230 20 20 20 4f 6e 65 20 6f 66 20 74 68 65 20 70 72 | One of the pr| 00001240 6f 62 6c 65 6d 73 20 77 68 69 63 68 20 49 20 68 |oblems which I h| 00001250 61 76 65 20 6e 6f 74 20 65 6e 63 6f 75 6e 74 65 |ave not encounte| 00001260 72 65 64 20 28 62 75 74 20 67 75 65 73 73 20 63 |red (but guess c| 00001270 6f 75 6c 64 20 6f 63 63 75 72 20 69 66 0a 73 6f |ould occur if.so| 00001280 6d 65 20 70 72 6f 67 72 61 6d 6d 65 72 20 74 72 |me programmer tr| 00001290 69 65 64 20 68 61 72 64 20 65 6e 6f 75 67 68 29 |ied hard enough)| 000012a0 20 69 73 20 74 68 61 74 20 73 6f 6d 65 20 70 72 | is that some pr| 000012b0 6f 67 72 61 6d 73 20 6d 61 79 20 63 68 65 63 6b |ograms may check| 000012c0 20 74 6f 20 73 65 65 20 69 66 0a 74 68 65 20 77 | to see if.the w| 000012d0 69 6e 64 6f 77 20 69 73 20 66 75 6c 6c 20 73 69 |indow is full si| 000012e0 7a 65 20 61 6e 64 20 61 63 74 20 64 69 66 66 65 |ze and act diffe| 000012f0 72 65 6e 74 6c 79 20 6f 6e 20 69 74 20 69 66 20 |rently on it if | 00001300 69 74 20 69 73 20 28 69 65 20 74 72 79 20 74 6f |it is (ie try to| 00001310 20 66 6f 72 63 65 0a 66 75 6c 6c 20 73 69 7a 65 | force.full size| 00001320 29 3b 20 74 68 69 73 20 6d 61 79 20 63 61 75 73 |); this may caus| 00001330 65 20 70 72 6f 62 6c 65 6d 73 2c 20 62 75 74 20 |e problems, but | 00001340 74 68 65 6e 20 61 67 61 69 6e 20 74 68 65 20 73 |then again the s| 00001350 61 6d 65 20 65 66 66 65 63 74 20 77 6f 75 6c 64 |ame effect would| 00001360 0a 70 72 6f 62 61 62 6c 79 20 6f 63 63 75 72 20 |.probably occur | 00001370 69 66 20 74 68 65 20 57 69 6d 70 20 64 69 64 20 |if the Wimp did | 00001380 74 68 65 20 73 61 6d 65 20 74 68 69 6e 67 2c 20 |the same thing, | 00001390 75 6e 6c 65 73 73 20 69 74 20 6d 6f 64 69 66 69 |unless it modifi| 000013a0 65 64 20 74 68 65 20 62 69 74 73 20 74 6f 0a 69 |ed the bits to.i| 000013b0 6e 64 69 63 61 74 65 20 74 68 61 74 20 74 68 65 |ndicate that the| 000013c0 20 77 69 6e 64 6f 77 20 77 61 73 20 61 74 20 66 | window was at f| 000013d0 75 6c 6c 20 73 69 7a 65 20 77 68 65 6e 20 6f 6e |ull size when on| 000013e0 20 61 20 6c 69 6e 65 20 77 69 74 68 20 74 68 65 | a line with the| 000013f0 20 69 63 6f 6e 20 62 61 72 2e 0a 20 20 20 54 68 | icon bar.. Th| 00001400 69 73 20 70 72 6f 62 6c 65 6d 20 6d 61 69 6e 6c |is problem mainl| 00001410 79 20 63 6f 6d 65 73 20 66 72 6f 6d 20 74 68 65 |y comes from the| 00001420 20 66 61 63 74 20 74 68 61 74 20 74 68 65 72 65 | fact that there| 00001430 20 69 73 20 6e 6f 20 77 61 79 20 74 6f 20 66 6f | is no way to fo| 00001440 72 63 65 20 61 0a 77 69 6e 64 6f 77 20 74 6f 20 |rce a.window to | 00001450 66 75 6c 6c 20 73 69 7a 65 20 28 69 65 20 73 69 |full size (ie si| 00001460 6d 75 6c 61 74 65 20 63 6c 69 63 6b 20 6f 6e 20 |mulate click on | 00001470 54 6f 67 67 6c 65 20 73 69 7a 65 29 2c 20 62 65 |Toggle size), be| 00001480 63 61 75 73 65 20 69 66 20 79 6f 75 20 6f 70 65 |cause if you ope| 00001490 6e 0a 74 6f 20 61 20 72 69 64 69 63 75 6c 6f 75 |n.to a ridiculou| 000014a0 73 20 73 69 7a 65 20 75 6e 64 65 72 20 52 4f 33 |s size under RO3| 000014b0 2c 20 79 6f 75 20 67 65 74 20 61 20 77 69 6e 64 |, you get a wind| 000014c0 6f 77 20 77 68 69 63 68 20 69 73 20 72 69 64 69 |ow which is ridi| 000014d0 63 75 6c 6f 75 73 6c 79 20 73 69 7a 65 2c 0a 72 |culously size,.r| 000014e0 61 74 68 65 72 20 74 68 61 6e 20 6f 6e 65 20 77 |ather than one w| 000014f0 68 69 63 68 20 79 6f 75 20 77 6f 75 6c 64 20 68 |hich you would h| 00001500 61 76 65 20 67 6f 74 20 68 61 64 20 79 6f 75 20 |ave got had you | 00001510 72 65 73 69 7a 65 64 20 69 74 20 75 73 69 6e 67 |resized it using| 00001520 20 74 68 65 20 72 65 73 69 7a 65 0a 62 75 74 74 | the resize.butt| 00001530 6f 6e 2e 20 41 73 6b 20 44 6f 6d 69 6e 69 63 20 |on. Ask Dominic | 00001540 53 79 6d 65 73 20 69 66 20 74 68 65 20 6c 61 63 |Symes if the lac| 00001550 6b 20 6f 66 20 74 68 69 73 20 66 61 63 69 6c 69 |k of this facili| 00001560 74 79 20 68 61 73 20 63 61 75 73 65 64 20 68 69 |ty has caused hi| 00001570 6d 20 61 6e 79 0a 70 72 6f 62 6c 65 6d 73 20 61 |m any.problems a| 00001580 6e 64 20 49 27 6d 20 73 75 72 65 20 68 65 27 64 |nd I'm sure he'd| 00001590 20 73 61 79 20 94 6e 6f 2c 20 62 75 74 20 64 6f | say .no, but do| 000015a0 6e 27 74 20 61 73 20 6d 65 20 74 6f 20 64 6f 20 |n't as me to do | 000015b0 69 74 20 61 67 61 69 6e 95 20 28 6d 61 79 62 65 |it again. (maybe| 000015c0 20 68 65 0a 77 6f 6e 27 74 2c 20 62 75 74 20 49 | he.won't, but I| 000015d0 20 77 6f 75 6c 64 21 29 0a 0a 0a 44 69 73 63 6c | would!)...Discl| 000015e0 61 69 6d 65 72 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |aimer.----------| 000015f0 0a 20 20 54 68 65 20 61 75 74 68 6f 72 20 61 63 |. The author ac| 00001600 63 65 70 74 73 20 6e 6f 20 72 65 73 70 6f 6e 73 |cepts no respons| 00001610 69 62 69 6c 69 74 79 20 66 6f 72 20 61 6e 79 20 |ibility for any | 00001620 70 72 6f 62 6c 65 6d 73 20 77 68 69 63 68 20 74 |problems which t| 00001630 68 69 73 0a 61 70 70 6c 69 63 61 74 69 6f 6e 20 |his.application | 00001640 6d 61 79 20 63 61 75 73 65 20 6f 72 20 6c 6f 73 |may cause or los| 00001650 73 20 6f 66 20 64 61 74 61 20 72 65 73 75 6c 74 |s of data result| 00001660 69 6e 67 20 69 6e 20 69 74 73 20 75 73 65 2e 20 |ing in its use. | 00001670 54 68 69 73 20 61 70 70 6c 69 63 61 74 69 6f 6e |This application| 00001680 0a 69 73 20 50 75 62 6c 69 63 20 44 6f 6d 61 69 |.is Public Domai| 00001690 6e 2e 20 54 68 69 73 20 6d 65 61 6e 73 20 74 68 |n. This means th| 000016a0 61 74 20 69 74 20 6d 61 79 20 62 65 20 64 69 73 |at it may be dis| 000016b0 74 72 69 62 75 74 65 64 2c 20 73 6f 20 6c 6f 6e |tributed, so lon| 000016c0 67 20 61 73 20 6e 6f 20 63 68 61 72 67 65 0a 6f |g as no charge.o| 000016d0 74 68 65 72 20 74 68 61 6e 20 63 6f 70 79 69 6e |ther than copyin| 000016e0 67 20 63 6f 73 74 73 20 61 72 65 20 63 68 61 72 |g costs are char| 000016f0 67 65 64 20 66 6f 72 20 69 74 2e 0a 20 20 0a 0a |ged for it.. ..| 00001700 53 6f 75 72 63 65 20 63 6f 64 65 0a 2d 2d 2d 2d |Source code.----| 00001710 2d 2d 2d 2d 2d 2d 2d 0a 20 20 20 54 68 69 73 20 |-------. This | 00001720 70 72 6f 67 72 61 6d 20 72 65 71 75 69 72 65 73 |program requires| 00001730 20 74 68 65 20 21 4a 46 50 61 74 63 68 20 70 72 | the !JFPatch pr| 00001740 65 2d 61 73 73 65 6d 62 6c 65 72 20 74 6f 20 6d |e-assembler to m| 00001750 61 6b 65 20 74 68 65 20 63 6f 64 65 2e 20 54 68 |ake the code. Th| 00001760 69 73 20 69 73 0a 61 20 73 69 6d 70 6c 65 20 74 |is is.a simple t| 00001770 65 78 74 2d 74 6f 2d 62 61 73 69 63 20 61 73 73 |ext-to-basic ass| 00001780 65 6d 62 6c 65 72 20 77 68 69 63 68 20 74 61 6b |embler which tak| 00001790 65 73 20 61 20 74 65 78 74 20 61 73 73 65 6d 62 |es a text assemb| 000017a0 6c 65 72 20 66 69 6c 65 2c 20 6d 61 6b 65 73 20 |ler file, makes | 000017b0 61 0a 62 61 73 69 63 20 70 72 6f 67 72 61 6d 20 |a.basic program | 000017c0 66 72 6f 6d 20 69 74 20 74 6f 20 61 73 73 65 6d |from it to assem| 000017d0 62 6c 65 2c 20 61 73 73 65 6d 62 6c 65 73 20 69 |ble, assembles i| 000017e0 74 20 61 6e 64 20 72 65 74 75 72 6e 73 20 61 6e |t and returns an| 000017f0 79 20 65 72 72 6f 72 73 2e 0a 43 75 72 72 65 6e |y errors..Curren| 00001800 74 6c 79 2c 20 69 74 20 69 73 20 75 6e 64 65 72 |tly, it is under| 00001810 20 64 65 76 65 6c 6f 70 6d 65 6e 74 20 61 6e 64 | development and| 00001820 20 72 65 71 75 69 72 65 73 20 61 20 6c 6f 74 20 | requires a lot | 00001830 6f 66 20 77 6f 72 6b 20 62 65 66 6f 72 65 20 69 |of work before i| 00001840 74 20 77 69 6c 6c 0a 62 65 20 72 65 6c 65 61 73 |t will.be releas| 00001850 65 64 20 69 6e 20 61 6e 79 20 66 6f 72 6d 2e 20 |ed in any form. | 00001860 41 73 20 73 75 63 68 2c 20 74 68 65 20 70 61 74 |As such, the pat| 00001870 63 68 20 66 69 6c 65 20 69 73 20 6d 6f 73 74 6c |ch file is mostl| 00001880 79 20 75 73 65 6c 65 73 73 2c 20 62 75 74 20 6d |y useless, but m| 00001890 75 73 74 0a 62 65 20 64 69 73 74 72 69 62 75 74 |ust.be distribut| 000018a0 65 64 20 77 69 74 68 20 74 68 65 20 72 65 73 75 |ed with the resu| 000018b0 6c 74 61 6e 74 20 6d 6f 64 75 6c 65 2e 0a 20 20 |ltant module.. | 000018c0 20 41 6c 6c 20 73 6f 75 72 63 65 20 63 6f 64 65 | All source code| 000018d0 20 61 6e 20 74 68 65 20 72 65 73 75 6c 74 61 6e | an the resultan| 000018e0 74 20 6d 6f 64 75 6c 65 20 6d 75 73 74 20 62 65 |t module must be| 000018f0 20 64 69 73 74 72 69 62 75 74 65 64 20 74 6f 67 | distributed tog| 00001900 65 74 68 65 72 2e 0a 0a 0a 57 69 6d 70 53 57 49 |ether....WimpSWI| 00001910 56 65 0a 2d 2d 2d 2d 2d 2d 2d 2d 2d 0a 20 20 20 |Ve.---------. | 00001920 54 68 69 73 20 70 72 6f 67 72 61 6d 20 72 65 71 |This program req| 00001930 75 69 72 65 20 57 69 6d 70 53 57 49 76 65 20 74 |uire WimpSWIve t| 00001940 6f 20 62 65 20 69 6e 73 74 61 6c 6c 65 64 20 62 |o be installed b| 00001950 65 66 6f 72 65 20 69 74 20 77 69 6c 6c 20 72 75 |efore it will ru| 00001960 6e 0a 63 6f 72 72 65 63 74 6c 79 2e 20 49 74 20 |n.correctly. It | 00001970 70 72 6f 76 69 64 65 73 20 65 61 73 79 20 61 63 |provides easy ac| 00001980 63 65 73 73 20 74 6f 20 66 69 6c 74 65 72 69 6e |cess to filterin| 00001990 67 20 57 69 6d 70 20 63 61 6c 6c 73 20 6f 74 68 |g Wimp calls oth| 000019a0 65 72 20 74 68 61 6e 0a 57 69 6d 70 5f 50 6f 6c |er than.Wimp_Pol| 000019b0 6c 20 28 70 72 6f 76 69 64 65 64 20 62 79 20 46 |l (provided by F| 000019c0 69 6c 74 65 72 4d 61 6e 61 67 65 72 29 20 61 6e |ilterManager) an| 000019d0 64 20 69 73 20 70 72 6f 76 69 64 65 64 20 77 69 |d is provided wi| 000019e0 74 68 20 4e 65 77 65 72 4c 6f 6f 6b 20 28 77 68 |th NewerLook (wh| 000019f0 69 63 68 0a 69 73 20 6f 6b 2c 20 62 75 74 20 74 |ich.is ok, but t| 00001a00 61 6b 65 73 20 61 20 62 69 74 20 6f 66 20 67 65 |akes a bit of ge| 00001a10 74 74 69 6e 67 20 75 73 65 64 20 74 6f 29 2e 0a |tting used to)..| 00001a20 20 20 20 54 68 65 20 57 69 6d 70 53 57 49 56 65 | The WimpSWIVe| 00001a30 20 6d 6f 64 75 6c 65 20 69 73 20 a9 20 41 6e 64 | module is . And| 00001a40 72 65 77 20 43 6c 6f 76 65 72 2c 20 61 6e 64 20 |rew Clover, and | 00001a50 69 66 20 63 6f 70 69 65 64 20 73 68 6f 75 6c 64 |if copied should| 00001a60 20 62 65 20 63 6f 70 69 65 64 0a 77 69 74 68 20 | be copied.with | 00001a70 74 68 65 20 64 6f 63 75 6d 65 6e 74 61 74 69 6f |the documentatio| 00001a80 6e 20 77 68 69 63 68 20 69 73 20 70 72 6f 76 69 |n which is provi| 00001a90 64 65 64 2e 20 52 65 66 65 72 20 74 6f 20 74 68 |ded. Refer to th| 00001aa0 65 20 66 69 6c 65 20 57 53 57 49 2d 48 65 6c 70 |e file WSWI-Help| 00001ab0 20 66 6f 72 0a 6d 6f 72 65 20 64 65 74 61 69 6c | for.more detail| 00001ac0 73 2e 0a 0a 0a 43 6f 6e 74 61 63 74 20 20 20 20 |s....Contact | 00001ad0 20 20 20 20 20 20 20 20 20 20 20 20 0a 2d 2d 2d | .---| 00001ae0 2d 2d 2d 2d 0a 41 6e 79 20 63 6f 6d 6d 65 6e 74 |----.Any comment| 00001af0 73 2c 20 71 75 65 72 69 65 73 2c 20 64 6f 6e 61 |s, queries, dona| 00001b00 74 69 6f 6e 73 20 6f 72 20 62 75 67 20 72 65 70 |tions or bug rep| 00001b10 6f 72 74 73 20 63 61 6e 20 62 65 20 73 65 6e 74 |orts can be sent| 00001b20 20 74 6f 20 3a 0a 0a 46 69 64 6f 6e 65 74 20 4e | to :..Fidonet N| 00001b30 65 74 4d 61 69 6c 20 3a 20 20 4a 75 73 74 69 6e |etMail : Justin| 00001b40 20 46 6c 65 74 63 68 65 72 20 61 74 20 41 72 63 | Fletcher at Arc| 00001b50 61 64 65 20 28 30 31 38 31 20 36 35 35 20 34 34 |ade (0181 655 44| 00001b60 31 32 29 20 5b 32 3a 32 35 34 2f 32 37 5d 0a 45 |12) [2:254/27].E| 00001b70 2d 4d 61 69 6c 20 3a 20 47 65 72 70 68 40 61 72 |-Mail : Gerph@ar| 00001b80 63 61 64 65 2e 64 65 6d 6f 6e 2e 63 6f 2e 75 6b |cade.demon.co.uk| 00001b90 0a 0a 53 6e 61 69 6c 20 4d 61 69 6c 20 3a 0a 20 |..Snail Mail :. | 00001ba0 20 20 20 4a 75 73 74 69 6e 20 46 6c 65 74 63 68 | Justin Fletch| 00001bb0 65 72 0a 20 20 20 20 94 47 61 6c 61 64 72 69 65 |er. .Galadrie| 00001bc0 6c 95 0a 20 20 20 20 31 37 62 20 43 72 6f 6d 77 |l.. 17b Cromw| 00001bd0 65 6c 6c 20 52 6f 61 64 2c 0a 20 20 20 20 57 65 |ell Road,. We| 00001be0 65 74 69 6e 67 2c 0a 20 20 20 20 42 72 61 6e 64 |eting,. Brand| 00001bf0 6f 6e 2c 0a 20 20 20 20 53 75 66 66 6f 6c 6b 2e |on,. Suffolk.| 00001c00 0a 20 20 20 20 49 50 32 37 20 30 51 54 0a 0a 48 |. IP27 0QT..H| 00001c10 69 73 74 6f 72 79 0a 2d 2d 2d 2d 2d 2d 2d 0a 56 |istory.-------.V| 00001c20 65 72 73 69 6f 6e 20 31 2e 30 30 20 3a 20 30 35 |ersion 1.00 : 05| 00001c30 20 53 65 70 20 31 39 39 35 0a 20 20 20 20 20 20 | Sep 1995. | 00001c40 20 20 20 20 20 20 20 20 20 46 69 72 73 74 20 76 | First v| 00001c50 65 72 73 69 6f 6e 20 77 72 69 74 74 65 6e 2e 20 |ersion written. | 00001c60 53 69 6d 70 6c 79 20 6c 6f 63 6b 65 64 20 74 68 |Simply locked th| 00001c70 65 20 62 6f 74 74 6f 6d 20 6f 66 20 65 76 65 72 |e bottom of ever| 00001c80 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |y. | 00001c90 20 77 69 6e 64 6f 77 20 74 6f 20 74 68 65 20 69 | window to the i| 00001ca0 63 6f 6e 20 62 61 72 20 69 66 20 74 68 65 79 20 |con bar if they | 00001cb0 77 65 72 65 20 62 65 6c 6f 77 20 69 74 2c 20 75 |were below it, u| 00001cc0 6e 6c 65 73 73 20 74 68 65 20 74 69 74 6c 65 0a |nless the title.| 00001cd0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 77 | w| 00001ce0 61 73 20 61 62 6f 76 65 20 69 74 2e 20 44 69 64 |as above it. Did| 00001cf0 6e 27 74 20 77 6f 72 6b 20 70 61 72 74 69 63 75 |n't work particu| 00001d00 6c 61 72 6c 79 20 77 65 6c 6c 20 69 66 20 74 68 |larly well if th| 00001d10 65 20 77 69 6e 64 6f 77 20 79 6f 75 0a 20 20 20 |e window you. | 00001d20 20 20 20 20 20 20 20 20 20 20 20 20 77 61 6e 74 | want| 00001d30 65 64 20 74 6f 20 6d 6f 76 65 20 77 61 73 20 6f |ed to move was o| 00001d40 6e 65 20 77 69 74 68 6f 75 74 20 61 6e 20 61 64 |ne without an ad| 00001d50 6a 75 73 74 20 73 69 7a 65 20 69 63 6f 6e 2e 0a |just size icon..| 00001d60 0a 56 65 72 73 69 6f 6e 20 31 2e 30 31 20 3a 20 |.Version 1.01 : | 00001d70 30 35 20 53 65 70 20 31 39 39 35 0a 20 20 20 20 |05 Sep 1995. | 00001d80 20 20 20 20 20 20 20 20 20 20 20 41 64 64 65 64 | Added| 00001d90 20 73 75 70 70 6f 72 74 20 66 6f 72 20 43 4d 4f | support for CMO| 00001da0 53 20 62 69 74 2c 20 61 6e 64 20 63 68 65 63 6b |S bit, and check| 00001db0 73 20 66 6f 72 20 56 65 72 74 69 63 61 6c 20 62 |s for Vertical b| 00001dc0 61 72 20 61 6e 64 0a 20 20 20 20 20 20 20 20 20 |ar and. | 00001dd0 20 20 20 20 20 20 61 64 6a 75 73 74 20 73 69 7a | adjust siz| 00001de0 65 20 69 63 6f 6e 2e 20 41 20 6c 69 74 74 6c 65 |e icon. A little| 00001df0 20 6d 6f 72 65 20 77 6f 72 6b 20 70 72 6f 76 69 | more work provi| 00001e00 64 65 64 20 61 20 74 6f 67 67 6c 65 20 73 69 7a |ded a toggle siz| 00001e10 65 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |e. | 00001e20 20 77 68 69 63 68 20 77 6f 72 6b 65 64 20 63 6f | which worked co| 00001e30 72 72 65 63 74 6c 79 2c 20 6c 6f 63 6b 69 6e 67 |rrectly, locking| 00001e40 20 74 6f 20 74 6f 70 20 6f 66 20 73 63 72 65 65 | to top of scree| 00001e50 6e 2e 0a 0a 56 65 72 73 69 6f 6e 20 31 2e 30 32 |n...Version 1.02| 00001e60 20 3a 20 32 32 20 53 65 70 20 31 39 39 35 0a 20 | : 22 Sep 1995. | 00001e70 20 20 20 20 20 20 20 20 20 20 20 20 20 20 53 75 | Su| 00001e80 70 70 6f 72 74 20 66 6f 72 20 46 6f 72 63 65 20 |pport for Force | 00001e90 74 6f 20 73 63 72 65 65 6e 20 6e 65 78 74 20 4f |to screen next O| 00001ea0 70 65 6e 20 57 69 6e 64 6f 77 2c 20 61 6e 64 20 |pen Window, and | 00001eb0 62 6f 75 6e 64 65 64 0a 20 20 20 20 20 20 20 20 |bounded. | 00001ec0 20 20 20 20 20 20 20 77 69 6e 64 6f 77 73 20 62 | windows b| 00001ed0 79 20 75 73 69 6e 67 20 73 6f 6d 65 20 6d 6f 64 |y using some mod| 00001ee0 69 66 69 65 64 20 63 6f 64 65 20 66 72 6f 6d 20 |ified code from | 00001ef0 74 68 65 20 6f 72 69 67 69 6e 61 6c 0a 20 20 20 |the original. | 00001f00 20 20 20 20 20 20 20 20 20 20 20 20 63 68 65 63 | chec| 00001f10 6b 74 6f 67 67 6c 65 20 73 69 7a 65 20 72 6f 75 |ktoggle size rou| 00001f20 74 69 6e 65 2e 0a 20 20 20 20 20 20 20 20 20 20 |tine.. | 00001f30 20 20 20 20 20 53 68 6f 75 6c 64 20 77 6f 72 6b | Should work| 00001f40 20 69 6e 20 6d 6f 73 74 20 69 6e 73 74 61 6e 63 | in most instanc| 00001f50 65 73 20 6e 6f 77 2c 20 61 6e 64 20 77 69 74 68 |es now, and with| 00001f60 20 74 68 65 20 6e 65 77 20 53 65 74 43 4d 4f 53 | the new SetCMOS| 00001f70 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |. | 00001f80 75 74 69 6c 69 74 79 20 63 6f 75 6c 64 20 67 69 |utility could gi| 00001f90 76 65 20 61 20 72 65 61 6c 6c 79 20 65 61 73 79 |ve a really easy| 00001fa0 20 77 61 79 20 74 6f 20 73 65 74 20 74 68 61 74 | way to set that| 00001fb0 20 74 79 70 65 20 6f 66 0a 20 20 20 20 20 20 20 | type of. | 00001fc0 20 20 20 20 20 20 20 20 74 68 69 6e 67 21 0a 20 | thing!. | 00001fd0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 4f 68 | Oh| 00001fe0 2c 20 61 6e 64 20 6d 75 73 74 20 72 65 6d 65 6d |, and must remem| 00001ff0 62 65 72 20 74 6f 20 74 75 72 6e 20 6f 66 66 20 |ber to turn off | 00002000 74 68 65 20 74 65 73 74 69 6e 67 20 63 6f 6d 6d |the testing comm| 00002010 65 6e 74 73 20 21 0a 0a 56 65 72 73 69 6f 6e 20 |ents !..Version | 00002020 31 2e 30 33 20 3a 20 32 39 20 53 65 70 20 31 39 |1.03 : 29 Sep 19| 00002030 39 35 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 |95. | 00002040 20 20 49 6e 69 74 69 61 6c 20 77 69 6e 64 6f 77 | Initial window| 00002050 20 6f 70 65 6e 69 6e 67 20 69 66 20 63 6c 6f 73 | opening if clos| 00002060 65 64 20 63 68 61 6e 67 65 64 20 74 6f 20 75 73 |ed changed to us| 00002070 69 6e 67 20 6e 65 77 20 62 6c 6f 63 6b 0a 20 20 |ing new block. | 00002080 20 20 20 20 20 20 20 20 20 20 20 20 20 72 61 74 | rat| 00002090 68 65 72 20 74 68 61 6e 20 6f 6c 64 2e 20 41 6c |her than old. Al| 000020a0 73 6f 20 72 65 2d 67 65 74 73 20 73 74 61 74 65 |so re-gets state| 000020b0 20 69 6e 74 6f 20 75 73 65 72 20 62 75 66 66 65 | into user buffe| 000020c0 72 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 |r.. | 000020d0 20 20 42 75 67 20 66 69 78 20 73 6f 20 74 68 61 | Bug fix so tha| 000020e0 74 20 69 66 20 79 6f 75 20 70 61 73 73 20 6f 76 |t if you pass ov| 000020f0 65 72 20 74 6f 67 67 6c 65 20 69 63 6f 6e 73 20 |er toggle icons | 00002100 77 68 69 6c 73 74 20 69 74 20 69 73 0a 20 20 20 |whilst it is. | 00002110 20 20 20 20 20 20 20 20 20 20 20 20 6f 70 65 6e | open| 00002120 69 6e 67 20 74 68 65 20 77 69 6e 64 6f 77 20 64 |ing the window d| 00002130 6f 65 73 20 6e 6f 74 20 70 6f 70 20 74 6f 20 66 |oes not pop to f| 00002140 75 6c 6c 20 73 69 7a 65 20 2d 20 79 6f 75 20 6e |ull size - you n| 00002150 65 65 64 20 74 6f 0a 20 20 20 20 20 20 20 20 20 |eed to. | 00002160 20 20 20 20 20 20 68 61 76 65 20 63 6c 69 63 6b | have click| 00002170 65 64 20 69 74 2e 0a 20 20 20 20 20 20 20 20 20 |ed it.. | 00002180 20 20 20 20 20 20 41 64 64 65 64 20 43 74 72 6c | Added Ctrl| 00002190 2d 53 68 69 66 74 20 62 79 70 61 73 73 20 62 79 |-Shift bypass by| 000021a0 70 61 73 73 20 3a 2d 29 0a 0a 56 65 72 73 69 6f |pass :-)..Versio| 000021b0 6e 20 31 2e 30 34 20 3a 20 30 31 20 4f 63 74 20 |n 1.04 : 01 Oct | 000021c0 31 39 39 35 0a 20 20 20 20 20 20 20 20 20 20 20 |1995. | 000021d0 20 20 20 20 46 69 78 65 64 20 62 75 67 20 77 69 | Fixed bug wi| 000021e0 74 68 20 43 74 72 6c 2d 53 68 69 66 74 20 77 68 |th Ctrl-Shift wh| 000021f0 69 63 68 20 6d 65 61 6e 74 20 74 68 61 74 20 69 |ich meant that i| 00002200 74 20 64 69 64 6e 27 74 20 61 63 74 75 61 6c 6c |t didn't actuall| 00002210 79 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |y. | 00002220 20 64 6f 20 61 6e 79 74 68 69 6e 67 20 3a 2d 28 | do anything :-(| 00002230 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |. | 00002240 4d 69 6e 6f 72 20 62 75 67 20 66 69 78 20 66 6f |Minor bug fix fo| 00002250 72 20 53 68 61 72 65 64 43 4c 69 62 72 61 72 79 |r SharedCLibrary| 00002260 20 62 61 73 65 64 20 61 70 70 6c 69 63 61 74 69 | based applicati| 00002270 6f 6e 73 2c 20 65 67 20 21 44 72 61 77 0a 20 20 |ons, eg !Draw. | 00002280 20 20 20 20 20 20 20 20 20 20 20 20 20 44 72 61 | Dra| 00002290 77 20 77 6f 75 6c 64 20 63 72 61 73 68 20 77 69 |w would crash wi| 000022a0 74 68 20 61 6e 20 41 64 64 72 65 73 73 20 65 78 |th an Address ex| 000022b0 63 65 70 74 69 6f 6e 20 62 65 63 61 75 73 65 20 |ception because | 000022c0 74 68 65 20 65 78 74 72 61 0a 20 20 20 20 20 20 |the extra. | 000022d0 20 20 20 20 20 20 20 20 20 57 69 6d 70 5f 47 65 | Wimp_Ge| 000022e0 74 57 69 6e 64 6f 77 53 74 61 74 65 20 69 6e 74 |tWindowState int| 000022f0 6f 20 74 68 65 20 75 73 65 72 20 62 6c 6f 63 6b |o the user block| 00002300 20 77 6f 75 6c 64 20 63 6f 72 72 75 70 74 20 77 | would corrupt w| 00002310 6f 72 64 20 39 0a 20 20 20 20 20 20 20 20 20 20 |ord 9. | 00002320 20 20 20 20 20 28 62 79 74 65 73 20 33 32 2d 33 | (bytes 32-3| 00002330 35 29 20 61 73 20 74 68 69 73 20 69 73 20 6e 6f |5) as this is no| 00002340 74 20 75 73 65 64 20 62 79 20 57 69 6d 70 5f 4f |t used by Wimp_O| 00002350 70 65 6e 57 69 6e 64 6f 77 2e 20 43 20 62 65 69 |penWindow. C bei| 00002360 6e 67 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 |ng. | 00002370 20 20 6d 6f 72 65 20 6d 65 6d 6f 72 79 20 63 6f | more memory co| 00002380 6e 73 63 69 6f 75 73 20 74 68 61 6e 20 74 68 65 |nscious than the| 00002390 20 61 76 65 72 61 67 65 20 70 65 72 73 6f 6e 20 | average person | 000023a0 77 6f 75 6c 64 20 73 70 6f 74 20 74 68 69 73 0a |would spot this.| 000023b0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 61 | a| 000023c0 6e 64 20 6f 6e 6c 79 20 61 6c 6c 6f 63 61 74 65 |nd only allocate| 000023d0 20 65 6e 6f 75 67 68 20 73 70 61 63 65 20 66 6f | enough space fo| 000023e0 72 20 74 68 65 20 57 69 6d 70 5f 4f 70 65 6e 57 |r the Wimp_OpenW| 000023f0 69 6e 64 6f 77 20 62 6c 6f 63 6b 0a 20 20 20 20 |indow block. | 00002400 20 20 20 20 20 20 20 20 20 20 20 61 6e 64 20 68 | and h| 00002410 65 6e 63 65 20 68 61 64 20 73 6f 6d 65 20 76 69 |ence had some vi| 00002420 74 61 6c 20 69 6e 66 6f 72 6d 61 74 69 6f 6e 20 |tal information | 00002430 6f 76 65 72 77 72 69 74 74 65 6e 2e 20 59 75 63 |overwritten. Yuc| 00002440 6b 21 20 54 6f 6f 6b 0a 20 20 20 20 20 20 20 20 |k! Took. | 00002450 20 20 20 20 20 20 20 6d 65 20 61 67 65 73 20 74 | me ages t| 00002460 6f 20 73 70 6f 74 20 74 68 61 74 2e 0a 0a 50 53 |o spot that...PS| 00002470 2e 20 49 6e 20 63 61 73 65 20 79 6f 75 20 77 65 |. In case you we| 00002480 72 65 20 69 6e 74 65 72 65 73 74 65 64 2c 20 74 |re interested, t| 00002490 68 65 20 44 6f 6e 27 74 20 4f 62 73 63 75 72 65 |he Don't Obscure| 000024a0 20 49 63 6f 6e 20 42 61 72 20 62 69 74 20 69 73 | Icon Bar bit is| 000024b0 20 62 69 74 20 34 20 6f 66 0a 43 4d 4f 53 20 62 | bit 4 of.CMOS b| 000024c0 79 74 65 20 32 38 2c 20 73 65 74 20 69 74 20 77 |yte 28, set it w| 000024d0 69 74 68 20 73 6f 6d 65 74 68 69 6e 67 20 6c 69 |ith something li| 000024e0 6b 65 20 2a 53 65 74 43 4d 4f 53 20 32 38 20 31 |ke *SetCMOS 28 1| 000024f0 36 20 31 36 2c 20 75 6e 73 65 74 20 77 69 74 68 |6 16, unset with| 00002500 0a 2a 53 65 74 43 4d 4f 53 20 32 38 20 30 20 31 |.*SetCMOS 28 0 1| 00002510 36 2e 0a |6..| 00002513
.