home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / utilities / utilsf / jfshared / Modules / TextCopy / AllWCD / !Help < prev    next >
Encoding:
Text File  |  1995-07-01  |  4.7 KB  |  129 lines

  1.                               AllWriteClickDrag
  2.                               =================
  3. Version 1.00 (22 Jun 1995)
  4.      
  5. Introduction
  6. ------------
  7. Well, what can I say. It works! I'm sorry, but after a few assembly bugs like
  8. specifying registers where offsets should have been used the first test run
  9. works! Now for me that is pretty amazing as it usually takes about 2 hours to
  10. debug code, but then again there isn't really much that could go wrong with
  11. it.
  12.  
  13. Anyway, as I mentioned in TextCopy there is no real difference between type
  14. 15 (Write) and type 14 (Write/Click/Drag) icons, except that TextCopy can't
  15. handle drags from the former. I did suggest in the !Help file that I could
  16. get around this in the module by lots of time consuming ‘hack-arounds’, but
  17. this seemed a much simpler option.
  18.  
  19. What it does is intercepts all Wimp_CreateIcon and Wimp_CreateWindow calls
  20. and changes every type 15 icon into a type 14. Easy… :-)
  21.  
  22. The overall effect is not apparent to the user except that he can drag those
  23. icons, and any well written program should simply ignore button clicks it
  24. cannot handle and therefore be oblivious to the change. However, Impression
  25. is noted for being picky about what happens to it, so I'm just off to test it
  26. there, back in a mo…
  27.  
  28. It would appear that whatever it uses as the point size icon it's not
  29. writable. In fact, in deference to the fact that it is a perfectly usable
  30. writable icon it is using type 10 (Click/drag/double-click). Why it should do
  31. this I'm not sure, but it could just be a stupid programmer or the ABI
  32. messing things up. The following icons work :
  33.  Save       €
  34.  Scale      €
  35.  Edit style=>Name          € after a manner
  36.              Key short cut €
  37.              Leadering     ☓ 
  38.              Decimal tab   ☓
  39.  Print=>From   ☓
  40.         To     ☓
  41.         Scale  €
  42.         Copies €
  43.  Edit frame=> all bar insets ☓
  44.               inset          €  (Why when the others don't ?)
  45.  Text size box €
  46.  Alter chapter=> any     €
  47.  Define new style=>Name  €
  48.  Preferences=>save every €
  49.  Line space box    €
  50.  Find box=> all    €
  51.  Dictionary=> all  €
  52.  Iconbar preferences=>all €
  53.  Colour picker=>RGB or HSV values €
  54.  Most other point or percentage   ☓
  55.  
  56. That's most of impression sorted. Almost all other applications are produced
  57. by sane people and therefore use writable icons for what appear to be
  58. writable icons, so it should work.
  59.  
  60. Stupid, stupid Computer Concepts. What's so wrong with FormEd that you have
  61. to use your silly ABI thingy so that we can't edit your templates to sensible
  62. states ?
  63.  
  64.  
  65. Usage
  66. -----
  67.    Run the !Run file. That's it.
  68.    Hopefully, the code will be assembled with no errors and all that in
  69. future will be required is the running of the resultant code file.
  70.  
  71.     
  72. How it works
  73. ------------
  74. Well I've pretty much explained that. It uses WimpSWIve (© Andrew Clover) to
  75. intercept CreateIcon and CreateWindow calls and replaces all type 15 icons
  76. with type 14.
  77.  
  78.  
  79. Bugs
  80. ----
  81.    Hmm. Well, you know that I wrote this to fix the bug about dragging
  82. icons ? Well, by having written it there would appear to be a bug which is
  83. created by the Wimp (not me) when you open windows off menus. It would appear
  84. that when they wrote the code to handle such events and to put the caret in
  85. the correct icon they omitted one thing - a check for type 14 icons. This
  86. means that if you open a window off a menu with AllWCD installed the menu
  87. will not get the input focus.
  88.    Comprendez ? 'cos it gets better !
  89.    The *only* way to get around this is to patch the WindowManager directly
  90. (as it the actual module). This is more difficult, but can be done with a
  91. little practice. You will have to see the WinMgr patch to find out more about
  92. this patch.
  93.  
  94.  
  95. Disclaimer
  96. ----------
  97.   The author accepts no responsibility for any problems which this
  98. application may cause or loss of data resulting in its use. This application
  99. is Public Domain. This means that it may be distributed, so long as no charge
  100. other than copying costs are charged for it.
  101.   
  102.  
  103. Source code
  104. -----------
  105.    This program requires the !JFPatch pre-assembler to make the code. This is
  106. a simple text-to-basic assembler which takes a text assembler file, makes a
  107. basic program from it to assemble, assembles it and returns any errors.
  108. Currently, it is under development and requires a lot of work before it will
  109. be released in any form. As such, the patch file is mostly useless, but must
  110. be distributed with the resultant module.
  111.    All source code an the resultant module must be distributed together.
  112.  
  113.         
  114. Contact                
  115. -------
  116. Any comments, queries, donations or bug reports can be sent to :
  117.  
  118. Fidonet NetMail :  Justin Fletcher at Arcade (0181 655 4412) [2:254/27]
  119. E-Mail : Gerph@arcade.demon.co.uk
  120.  
  121. Snail Mail :
  122.     Justin Fletcher
  123.     “Galadriel”
  124.     17b Cromwell Road,
  125.     Weeting,
  126.     Brandon,
  127.     Suffolk.
  128.     IP27 0QT
  129.