home *** CD-ROM | disk | FTP | other *** search
- AllWriteClickDrag
- =================
- Version 1.00 (22 Jun 1995)
-
- Introduction
- ------------
- Well, what can I say. It works! I'm sorry, but after a few assembly bugs like
- specifying registers where offsets should have been used the first test run
- works! Now for me that is pretty amazing as it usually takes about 2 hours to
- debug code, but then again there isn't really much that could go wrong with
- it.
-
- Anyway, as I mentioned in TextCopy there is no real difference between type
- 15 (Write) and type 14 (Write/Click/Drag) icons, except that TextCopy can't
- handle drags from the former. I did suggest in the !Help file that I could
- get around this in the module by lots of time consuming ‘hack-arounds’, but
- this seemed a much simpler option.
-
- What it does is intercepts all Wimp_CreateIcon and Wimp_CreateWindow calls
- and changes every type 15 icon into a type 14. Easy… :-)
-
- The overall effect is not apparent to the user except that he can drag those
- icons, and any well written program should simply ignore button clicks it
- cannot handle and therefore be oblivious to the change. However, Impression
- is noted for being picky about what happens to it, so I'm just off to test it
- there, back in a mo…
-
- It would appear that whatever it uses as the point size icon it's not
- writable. In fact, in deference to the fact that it is a perfectly usable
- writable icon it is using type 10 (Click/drag/double-click). Why it should do
- this I'm not sure, but it could just be a stupid programmer or the ABI
- messing things up. The following icons work :
- Save €
- Scale €
- Edit style=>Name € after a manner
- Key short cut €
- Leadering ☓
- Decimal tab ☓
- Print=>From ☓
- To ☓
- Scale €
- Copies €
- Edit frame=> all bar insets ☓
- inset € (Why when the others don't ?)
- Text size box €
- Alter chapter=> any €
- Define new style=>Name €
- Preferences=>save every €
- Line space box €
- Find box=> all €
- Dictionary=> all €
- Iconbar preferences=>all €
- Colour picker=>RGB or HSV values €
- Most other point or percentage ☓
-
- That's most of impression sorted. Almost all other applications are produced
- by sane people and therefore use writable icons for what appear to be
- writable icons, so it should work.
-
- Stupid, stupid Computer Concepts. What's so wrong with FormEd that you have
- to use your silly ABI thingy so that we can't edit your templates to sensible
- states ?
-
-
- Usage
- -----
- Run the !Run file. That's it.
- 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
- ------------
- Well I've pretty much explained that. It uses WimpSWIve (© Andrew Clover) to
- intercept CreateIcon and CreateWindow calls and replaces all type 15 icons
- with type 14.
-
-
- Bugs
- ----
- Hmm. Well, you know that I wrote this to fix the bug about dragging
- icons ? Well, by having written it there would appear to be a bug which is
- created by the Wimp (not me) when you open windows off menus. It would appear
- that when they wrote the code to handle such events and to put the caret in
- the correct icon they omitted one thing - a check for type 14 icons. This
- means that if you open a window off a menu with AllWCD installed the menu
- will not get the input focus.
- Comprendez ? 'cos it gets better !
- The *only* way to get around this is to patch the WindowManager directly
- (as it the actual module). This is more difficult, but can be done with a
- little practice. You will have to see the WinMgr patch to find out more about
- this patch.
-
-
- 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.
-
-
- 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
-