home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / templed / !TemplEd / Extras / !TemplHlp / TemplEd / HelpData next >
Encoding:
Text File  |  1994-07-04  |  22.3 KB  |  609 lines

  1. Help on TemplEd
  2. #Sprite 40,0 !templed
  3. #Indent 9
  4. TemplEd
  5. v 1.29
  6. #Indent 0
  7. -------------------
  8.  <    Licence      >
  9.  <Loading & Saving =>LoadAndSave>
  10.  < Mouse operation =>Mouse>
  11.  <Positioning icons=>IconPos>
  12.  <  Editing icons  =>EditIcon>
  13.  < Editing windows =>EditWin>
  14.  <  Miscellaneous  >
  15.  < Technical info  =>TechInfo>
  16.  <    Credits      >
  17. -------------------
  18.  (c) <Dick Alstein=>Address>Copyright notice
  19. TemplEd is FreeWare, which means:
  20. #Indent 2
  21.  
  22. * You may freely copy and distribute it.
  23. * You may modify it for personal use, but
  24.   copies that you distribute must contain
  25.   all ORIGINAL files.
  26. * I don't charge anything for it. If you
  27.   paid a PD library for this and it cost
  28.   you more than the price of a floppy plus
  29.   a stamp, you have probably been ripped off.Loading and saving
  30. Loading a template file:
  31.   - Double-click on a template file
  32.     (starts a new copy of TemplEd if it has
  33.     already loaded some templates), or
  34.   - Drop the file on the icon bar icon
  35.     (removes the current templates and loads
  36.     new ones), or
  37.   - Drop an application on the icon bar
  38.     (loads the file "Templates" in the
  39.     application directory)
  40.  
  41. Adding the contents of a template file:
  42.     Drop the file on the browser window
  43.  
  44. Saving the templates:
  45.     From the menu (as usual)
  46.  
  47. TemplEd can also <load Sprites files=>LoadSprites> that
  48. contain sprites for the templates.Template files
  49. #Indent 5
  50. #Sprite 0,0 file_fec
  51. Template files contain window definitions
  52. that are almost identical to the definition
  53. blocks used for the SWI <Wimp_CreateWindow=>SWI.Wimp_CreateWindow>
  54.  
  55. #Indent 0
  56. Your program can read the Templates from a file
  57. with <Wimp_OpenTemplate=>SWI.Wimp_OpenTemplate> and  <Wimp_LoadTemplate=>SWI.Wimp_LoadTemplate>Mouse operation
  58. Function                      Button          Remark
  59. --------------------------    ------          ------
  60. Select icon(s) (exclusive)    Select          <1=>Remark1>
  61. Select icon(s) (toggle)       Adjust          <1=>Remark1>
  62. <Move icon(s)=>MoveIcon>                  Shift+Select    <2=>Remark2>,<3=>Remark3>
  63. <Resize icon(s)=>ResizeIcon>                Shift+Adjust    <2=>Remark2>,<3=>Remark3>
  64. <Edit icon(s)=>EditIcon>                  Shift+Menu      <3=>Remark3>,<4=>Remark4>,<5=>Remark5>
  65. <Move window=>MoveWindow>                   Ctrl+Select     <6=>Remark6>
  66. <Resize window=>ResizeWindow>                 Ctrl+Adjust     <6=>Remark6>
  67. Resize work area              Ctrl+Alt+Adjust <6=>Remark6>
  68. <Edit window=>EditWin>                   Ctrl+Menu       <7=>Remark7>
  69. Edit title bar                Ctrl+Menu       <8=>Remark8>,<9=>Remark9>
  70. Renumber icon(s) (count up)   Alt+Select      <10=>Remark10>
  71. Renumber icon(s) (count down) Alt+Adjust      <11=>Remark11>
  72.  
  73.       Some functions have a <keyboard shortcut=>Ctrlkeys>Remark 1
  74. Clicking selects a single icon (*)
  75. Dragging the mouse selects all icons
  76. within the drag-box.
  77.  
  78. *: click-selecting does not work
  79. for some button types (e.g. Menu)Remark 2
  80. Also works for click without Shift,
  81. if mouse button is pressed longer
  82. than 0.5 secondsIcon positioning
  83.  <Move=>MoveIcon>   <Resize=>ResizeIcon>   <Align>   <Space out=>SpaceOut>   <Center=>CenterIcon> Remark 3
  84. Function operates on all
  85. selected icons, or (if
  86. no icons are selected) on
  87. the icon under the pointerRemark 8
  88. The pointer must be
  89. over the title barRemark 10
  90. When repeating this, next icon number is:
  91. \<number issued on last renumber\> + 1Remark 11
  92. When repeating this, next icon number is:
  93. \<number issued on last renumber\> - 1Remark 4
  94. If more than 1 icon is edited,
  95. only the icon flags can be modifiedRemark 5
  96. Can also be done by a
  97. double-click with Select
  98. on the iconMoving icons
  99. Click Shift+Select to start the Move.
  100. (for details see remarks <2=>Remark2> and <3=>Remark3>)
  101.  
  102. Drag the outline around the icon(s) to the
  103. desired position. During the drag, you can
  104. also use the <cursor keys=>CursorKeys> to move the pointer. 
  105.  
  106. Pressing the cursor keys without dragging
  107. moves the selected icons.
  108.  
  109. - If you drop the icons in another template
  110.   window, they will be copied to that window.
  111. - If you move them outside any template
  112.   window, they will be deleted (only if the
  113.   "Delete icons moved outside" option is on).Cursor Keys
  114. The ⇦,⇨,⇩ and ⇧ keys move the pointer 1 pixel
  115. (when Shift is held: 4 pixels)Resizing icons
  116. Click Shift+Adjust to start the Resize.
  117. (for details see remarks <2=>Remark2> and <3=>Remark3>)
  118.  
  119. Drag the "rubber box" outline around the icon(s).
  120. You can move one side of the icon(s) at a time;
  121. the side that is moved is the one that was
  122. nearest to the pointer when you clicked.
  123.  
  124. During the drag, you can also use the <cursor keys=>CursorKeys>
  125. to move the pointer.Aligning icons
  126. Changes the selected icons so that they are lined up.
  127. You can align their left-hand sides, right-hand sides,
  128. top, bottom, or the centres (in either the horizontal
  129. or vertical direction).
  130.  
  131. "Move icons"   - change the icon position
  132. "Resize icons" - move only 1 side of the icon
  133.  
  134.             * <click here for an example=>AlignXmpl> *Space Out
  135. Moves the selected icons so that there is
  136. a constant space (horizontal or vertical)
  137. between them.
  138.  
  139. "Use available" - use the available space
  140.                   between the outer icons
  141.  
  142.       * <click here for an example=>SpaceXmpl> *Example of Space Out
  143. Suppose you have four icons, positioned
  144.  
  145.   ”’’’’’„             ”’’’’’’’„”’’’„      ”’’’„
  146.   ‹  A  ‹             ‹   B   ‹‹ C ‹      ‹ D ‹
  147.   ›’’’’’“             ›’’’’’’’“›’’’“      ›’’’“
  148.  
  149. Using a fixed space gives you something like
  150.  
  151.   ”’’’’’„  ”’’’’’’’„  ”’’’„  ”’’’„
  152.   ‹  A  ‹  ‹   B   ‹  ‹ C ‹  ‹ D ‹
  153.   ›’’’’’“  ›’’’’’’’“  ›’’’“  ›’’’“
  154.  
  155. and choosing "Use available" results in
  156.  
  157.   ”’’’’’„      ”’’’’’’’„      ”’’’„       ”’’’„
  158.   ‹  A  ‹      ‹   B   ‹      ‹ C ‹       ‹ D ‹
  159.   ›’’’’’“      ›’’’’’’’“      ›’’’“       ›’’’“
  160.  
  161. (If this looks horrible, set "Redefine Chars" on.)Function keys
  162. F2      = "Update"
  163. F3      = "Update & Exit"
  164. Esc, F4 = "Exit"The "Icon Edit" window
  165. Remarks:
  166.   - Some fields (button type, colours, font) can
  167.     contain a limited number of values. These can
  168.     be set either by clicking on the arrow icons
  169.     to the left and right, or from a menu (click
  170.     on the field to get the menu)
  171.   - You can use the <function keys=>Editkeys> as shortcuts
  172.     for the "Update", "Update & Exit" and "Exit"
  173.     buttons
  174.   - You can get <info=>IconInfo_Flags> on the meaning of the various
  175.     buttons in the window by pressing F1 while the
  176.     pointer is over the button
  177.   - When editing a selection, you can change only
  178.     the icon flags. To change a single flag, click
  179.     Menu over "Update" or "Update & Exit" and
  180.     choose the flag.The "Window Edit" window
  181. Remarks:
  182.   - The contents of the title bar are edited separately,
  183.     using the "Icon Edit" window; click Shift+Menu
  184.     while the pointer is over the title bar
  185.   - You can use the <function keys=>Editkeys> as shortcuts
  186.     for the "Update", "Update & Exit" and "Exit"
  187.     buttons
  188.   - You can get <info=>WinInfo_Flags> on the meaning of the various
  189.     buttons in the window by pressing F1 while the
  190.     pointer is over the buttonMisc.
  191. <Min. size     =>MinSize>
  192. <Custom sprites=>CustomSprites>
  193. <Ensure icons  =>EnsureIcons>
  194. <Deleted icons =>DeletedIcons>Loading sprites files
  195. * Drop a sprite file on the icon bar icon
  196.  
  197. * If a templates file named "Templates" is
  198.   loaded, the file "Sprites" in the same
  199.   directory is automatically loaded with it.Keyboard shortcuts
  200. Key     Function
  201. ------  ---------------------------
  202. Ctrl-A  Select all icons
  203. Ctrl-C  Copy selected icons
  204. Ctrl-D  Copy icons downward
  205. Ctrl-E  Edit selected icons
  206. Ctrl-L  Copy icons to left
  207. Ctrl-R  Copy icons to right
  208. Ctrl-U  Copy icons upward
  209. Ctrl-X  Delete selected icons
  210. Ctrl-Z  Clear icon selection
  211.  
  212. Ctrl-Q  Close window (also Ctrl-F2)
  213. Ctrl-T  Edit title bar
  214. Ctrl-W  Edit window
  215.  
  216. Ctrl-J  Open "Align" box
  217. Ctrl-K  Open "SpaceOut" boxMoving windows
  218. Select-click on a window with Ctrl pressed, to
  219. drag the window to the desired position.
  220. During the drag, you can also use the
  221. <cursor keys=>CursorKeys> to move the pointer.Resizing windows
  222. Adjust-click on a window with Ctrl pressed, to
  223. resize the window. During the drag, you can
  224. also use the <cursor keys=>CursorKeys> to move the pointer.Credits
  225. Thanks are due to The Risc Squad, Jonathan Marten
  226. and Tim Browse for writing applications from which
  227. I have "borrowed" ideas for TemplEd.
  228.  
  229. Alex Petrov wrote the MenuUtils module, Martin
  230. Ebourne created the hires sprites.
  231.  
  232. TemplEd has also been much improved by the testing,
  233. comments and suggestions of Stephen Burke, Martin
  234. Ebourne, Michael Ellis, Edwin Hautus, Paul Hobbs,
  235. Rupert Johnson, Merlin Hughes, Olaf Krumnow,
  236. Paul Lebeau, Ian Palmer, John Pullan, Niklas RÖjemo,
  237. John Tytgat, Julian Wright, and I'm sure I forgot
  238. some others.Centering icons
  239. Centers the icon (or selected icons)
  240. to the currently visible window areaRemark 7
  241. Can also be done by a
  242. double-click with Select
  243. on the window backgroundRemark 9
  244. Can also be done by a
  245. double-click with Select
  246. on the title barRemark 6
  247. Only works if the "Movable"-flag
  248. of the window is setExample of Align
  249. This is an example of left-aligning with three
  250. icons. Icon B is the leftmost, and does not change.
  251.  
  252. Original           Left-Aligned       Left-Aligned
  253.     Position       with Move          with  Resize
  254.  
  255.                    Œ                  Œ
  256.   ”’’’„            ”’’’„              ”’’’’’„
  257.   ‹ A ‹            ‹ A ‹              ‹  A  ‹
  258.   ›’’’“            ›’’’“              ›’’’’’“
  259. ”’’’’’’’„          ”’’’’’’’„          ”’’’’’’’„
  260. ‹   B   ‹          ‹   B   ‹          ‹   B   ‹
  261. ›’’’’’’’“          ›’’’’’’’“          ›’’’’’’’“
  262.      ”’’’’’„       ”’’’’’„            ”’’’’’’’’’„
  263.      ‹  C  ‹       ‹  C  ‹            ‹    C    ‹
  264.      ›’’’’’“       ›’’’’’“            ›’’’’’’’’’“
  265.                    −                  −
  266.  
  267. (If this looks horrible, set "Redefine Chars" on.)'Border' flag
  268. Flag ON : Icon has a rectangular border
  269.  
  270. The border type is set in the validation string,
  271. with the <'R' command=>IconInfo_ValidStrCmdR>. (Default border is simple
  272. rectangle in foreground colour)'Filled' flag
  273. Flag ON : Fill icon with background colour
  274.           when it is redrawn
  275. Flag OFF: 'Transparent' icon'H centred' flag
  276. Flag ON : Icon contents (text/sprite) are
  277.           horizontally centred
  278.  
  279. (For left-justifying: set 'H centred' and
  280.  'R justified' flags off)'V centred' flag
  281. Icon contents (text/sprite)
  282. are centred vertically'R justified' flag
  283. Icon contents (text/sprite)
  284. are right-justified
  285.  
  286. (For left-justifying: set
  287.  'H centred' and 'R justified'
  288.  flags off)'Needs help' flag
  289. Flag ON : Icon requires the help of the task to be
  290.           redrawn (generates Wimp_Poll Redraw events)
  291. Flaf OFF: Wimp redraws icon by itself'Allow adjust' flag
  292. Flag ON : Allow selecting more than 1 icon
  293.           in this ESG, by clicks with Adjust
  294. Flag OFF: Clicking Adjust always deselects
  295.           other icons in ESG'Half size' flag
  296. Flag ON : Draw the sprite at half its size
  297. Flag OFF: Sprite (if present) at normal sizeIcon button type
  298. Determines when the task is notified of mouse clicks
  299.  
  300. Button type        Meaning
  301. -----------------  -----------------------------------------------------
  302. Never              Ignore all clicks on the icon
  303. Always             Notify continuously while the mouse is over the icon
  304. Auto-repeat        Notify of click, then auto-repeat
  305. Click              Notify once
  306. Release            Click selects, move away deselects. Notify of release
  307. Double click       Click selects. Double-click notifies task.
  308. Click/Drag         As 'Click' + Notify of drag (returns button*16)
  309. Release/Drag       As 'Release' + Notify of drag (button*16)
  310. Double/Drag        As 'Double click' + Notify of drag (button*16)
  311. Menu               Notify once. Select while the mouse is over the icon
  312. Double/Click/Drag  Notify of Click (*256), Drag (*16), Doubleclick (*1)
  313. Radio              Click toggles selection (*1), Drag notifies (*16)
  314. Write/Click/Drag   As 'Click/Drag' + Gain caret when clicked
  315. Writable           As 'Click' + Gain caret when clicked
  316.  
  317. (Clicks with Menu are ALWAYS passed on to the task)
  318.  
  319. Behaviour of writable icons can be controlled in the validation string,
  320. with the <'A' command=>IconInfo_ValidStrCmdA> and <'K' command=>IconInfo_ValidStrCmdK>ESG
  321. Exclusive Selection Group  (number from 0-31)
  322.  
  323. If ESG > 0, then clicking an icon with Select
  324. deselects other icons with the same ESG number
  325.  
  326. Effect of click with Adjust is determined by
  327. '<Allow adjust=>IconInfo_Allowadjust>' flag'Shaded' flag
  328. Flag ON : Icon is shaded; it is shown in grey,
  329.           and mouse clicks on it are ignoredFgcol
  330. Sets the foreground colour of
  331.  - Icon text (if not using an outline font)
  332.  - Standard icon border (if '<Border=>IconInfo_Border>' flag set)Bgcol
  333. Sets the background colour'Outline font' flag
  334. Flag ON : Display icon text in outline font
  335.           Font colours are set in validation
  336.           string, with <'F' command=>IconInfo_ValidStrCmdF>
  337. Flag OFF: Display icon text in system fontValidation string
  338. Controls several aspects of
  339. behaviour and appearance
  340. of an icon.
  341.  
  342.     <Commands=>IconInfo_ValidStrCmd>    <Syntax=>IconInfo_ValidStrSyntax>'Max size' field
  343. Indicates the maximum size of indirected data.
  344.  
  345. For writable icons, this determines the
  346. maximum length of the input text.
  347. Your program should never write longer strings
  348. into the buffer!
  349. (Add 1 for the string terminator.)'Indirected' flag
  350. Is needed if:
  351.   * you need more than 12 bytes to store
  352.     the icon text or sprite name
  353.   * you want to use a <validation string=>IconInfo_Validation>
  354.   * you want both text and a sprite
  355.     in the icon (use the <'S' command=>IconInfo_ValidStrCmdS>
  356.     in the validation string)
  357.  
  358. The indirected data is stored in a buffer.
  359. The buffer size is set in the '<Max size=>IconInfo_Maxsize>'
  360. field.Technical info
  361. #Indent 2
  362. <   Windows    =>TechInfo_Window>
  363. <    Icons     =>TechInfo_Icon>
  364. <Template files=>TechInfo_Templ>Validation string syntax
  365. Validation string = Commands, separated by ";"
  366. Command           = Single letter +
  367.                     command-dependent contents
  368.  
  369. There are 4 special characters \\ ; - ~
  370. In a command, they must be preceded by a "\\"Validation string commands
  371. <A - Allow/disallow characters=>IconInfo_ValidStrCmdA>
  372. <D - Display characters       =>IconInfo_ValidStrCmdD>
  373. <F - Set outline font colours =>IconInfo_ValidStrCmdF>
  374. <K - Handle editing keys      =>IconInfo_ValidStrCmdK>
  375. <L - Multi-line text icon     =>IconInfo_ValidStrCmdL>
  376. <P - Change pointer shape     =>IconInfo_ValidStrCmdP>
  377. <R - Border type              =>IconInfo_ValidStrCmdR>
  378. <S - Sprite name              =>IconInfo_ValidStrCmdS>Validation string - 'A' command
  379. Syntax: A{allowed chars}|~{disallowed chars}
  380.  
  381. Controls the input of characters in writable icons
  382.  
  383. Examples: A0-9   Allow only digits
  384.           A~$#/  Allow all characters, except $ # /
  385.           A~\\-   Don't allow the minus
  386.           A~     Don't allow any charactersValidation string - 'D' command
  387. Syntax: D{character}
  388.  
  389. Display all characters in a string as a {character}
  390. Useful when entering passwords
  391.  
  392. Example: D*  Show text as row of asterisksValidation string - 'F' command
  393. Syntax: F{background colour}{foreground colour}
  394.  
  395. Sets the colours of the outline font used for the icon
  396. Colours are entered in hexadecimal
  397. Default: Black on White
  398.  
  399. Examples: F07  Black on White (the default)
  400.           F7C  Cream on Black (yuck!)Validation string - 'L' command
  401. Syntax: L[{number}]
  402.  
  403. Turns the icon into a multi-line text icon.
  404. The number indicates the line spacing, but
  405.    this is not implemented yet (in RiscOS
  406.    3.10). The default is 40.
  407. Outline fonts can not be used.Validation string - 'K' command
  408. Syntax: K {A,R,T,D,N or a combination thereof}
  409.  
  410. Handles keypresses according to Acorn guidelines:
  411.  
  412. A  for ⇧ and ⇩ keys; move the caret to the
  413.    previous/next writable icon
  414. R  for Return key; move caret to next writable
  415.    icon, or notify task when in last icon
  416. T  for Tab and Shift-Tab keys; move caret to
  417.    previous/next writable icon
  418. D  handle keys as in RiscOS 2 (⇦, ⇨, Delete,
  419.    Ctrl-U, etc.) but also notify task
  420. N  notify task of all keys
  421.  
  422. This command is not available in RiscOS 2Validation string - 'P' command
  423. Syntax: P{sprite name},{active_x},{active_y}
  424.  
  425. Changes the shape of the pointer while over the icon.
  426. The sprite must be present in the Wimp sprite area.
  427. The numbers active_x and active_y are the offset for
  428. the "active point" from the topleft corner.
  429.  
  430. This command is not available in RiscOS 2Validation string - 'R' command
  431. Syntax: R{border type}[,{slab in colour}]
  432.  
  433. Selects the border type:
  434.   0 - Standard single pixel border
  435.   1 - Slab out
  436.   2 - Slab in
  437.   3 - Ridge
  438.   4 - Channel
  439.   5 - Action button
  440.   6 - Default action button
  441.   7 - Writable field
  442.  
  443. The slab in colour is shown when the icon is
  444. selected (type 5 and 6). Default: 14 (orange)
  445.  
  446. This command is not available in RiscOS 2Validation string - 'S' command
  447. Syntax: S{sprite name}[,{sprite name}]
  448.  
  449. For Text+Sprite icons.
  450. Tells the Wimp what sprite to display.
  451. The second sprite is displayed when the
  452. icon is selected.
  453.  
  454. Example: Soptoff,opton  Usual setting for
  455.                         an 'Option' iconIcons
  456. In general, an icon is just a rectangular
  457. area in a window. It consists of:
  458.  
  459.   Coordinates of the bounding box
  460.       (min. X, min. Y, max. X, max. Y)
  461.   <Icon flags=>IconInfo_Flags>
  462.   Other icon data
  463.       (depends on the 'Text', 'Sprite'
  464.        and 'Indirected' icon flags)
  465.  
  466. See also SWI <Wimp_CreateIcon=>SWI.Wimp_CreateIcon>.Icon flags
  467. Flag         Meaning
  468. -----------  ---------------------------------------
  469. Text         Icon contains text
  470. Sprite       Icon contains a sprite
  471. <Border      =>IconInfo_Border> Icon has a border
  472. <H centred   =>IconInfo_Hcentred> Contents centered horizontally
  473. V centred    Contents centered vertically
  474. <Filled      =>IconInfo_Filled> Icon has a filled background
  475. <Outline font=>IconInfo_Font> Text is in anti-aliased font
  476. <Needs help  =>IconInfo_Needshelp> Icon requires task's help to be redrawn
  477. <Indirected  =>IconInfo_Indirected> Icon data is indirected
  478. <R justified =>IconInfo_Rjustified> Text is right-justified
  479. <Allow adjust=>IconInfo_Allowadjust> If selected with Adjust, don't
  480.              cancel other icons in same ESG
  481. <Half size   =>IconInfo_Halfsize> Display sprite at half size
  482. <Button type =>IconInfo_Buttontype> Icon button type
  483. <ESG         =>IconInfo_ESG> Exclusive Selection Group
  484. Selected     Icon is selected by user (inverted)
  485. <Shaded      =>IconInfo_Shaded> Icon un-selectable (greyed out)
  486. Deleted      Icon is deleted
  487. <Fg colour   =>IconInfo_Fgcol> Foreground colour
  488. Bg colour    Background colourWindows
  489. A window definition contains the following data:
  490.  
  491.   Current position and scroll offset
  492.   <Window flags=>WinInfo_Flags>
  493.   Colours of title bar, scroll bars, etc.
  494.   Title bar data
  495.   Sprite area for sprites in icons
  496.   Minimum and maximum size of the window
  497.  
  498. See also the SWI <Wimp_CreateWindow=>SWI.Wimp_CreateWindow>.Window flags
  499. #Table 10 16
  500. <Moveable      =>WinInfo_Moveable>
  501. <Auto-redraw   =>WinInfo_Auto-redraw>
  502. <Hot keys      =>WinInfo_Hotkeys>
  503. <Pane          =>WinInfo_Pane>
  504. <No bounds     =>WinInfo_Nobounds>
  505. <Back window   =>WinInfo_Backwindow>
  506. <Keep on Screen=>WinInfo_OnScreen>
  507. <Button type   =>WinInfo_Buttontype>
  508. <GCOL colours  =>WinInfo_GCOL>
  509. <Scroll        =>WinInfo_Scroll>
  510. Back 
  511. Close 
  512. Title bar 
  513. Toggle 
  514. V scroll 
  515. Adjust 
  516. H scroll 
  517. <New format    =>WinInfo_Newformat>
  518.  
  519. <Ignore Extent =>WinInfo_NoExtent>
  520. #EndTable'Moveable' flag
  521. Flag ON : Window can be dragged around
  522.           by clicking on the title bar
  523. Flag OFF: Window can only be opened at
  524.           another place by the program'Auto-redraw' flag
  525. Flag ON : Wimp redraws window without
  526.           asking help from the task
  527. Flag OFF: Task gets Wimp_Poll Redraw
  528.           events'Hot keys' flag
  529. Flag ON : Task is notified of 'Hot key' presses
  530. Flag OFF: Window only gets KeyPress events if it
  531.           has the input focus'Scroll' flags
  532. Flags ON : Task gets Scroll_Request events when
  533.            user clicks on scrollbar
  534.             - repeat: repeat events until button
  535.                       is released
  536.             - 1:      debounced, 1 event per click
  537. Flags OFF: Clicks on scrollbar are handled in
  538.            standard way (scroll+redraw window)'Pane' flag
  539. Flag ON : Window is a 'Pane' window - see PRM
  540. Flag OFF: Normal window'No bounds' flag
  541. Flag ON : Window can be opened/dragged outside
  542.           the screen area
  543. Flag OFF: Window stays fully on-screen'Back window' flag
  544. Flag ON : Other windows can not be opened
  545.           below this one (for e.g. backdrop)'New format' flag
  546. When off, the window flags are
  547. in old (pre-RiscOS) format.
  548.  
  549. Leave it on.'GCOL colours' flag
  550. Flag ON : Treat colour numbers as GCOL colours; colour
  551.           numbers can be from 0-254 in 256-colour modes
  552.           (not colour 255: it is used as 'transparent')
  553. Flag OFF: Colours from standard 16-colour Wimp paletteWindow button type
  554. Determines when the task is notified of mouse clicks
  555.  
  556. Button type        Meaning
  557. -----------------  ----------------------------------------------------
  558. Never              Ignore all clicks on the window
  559. Always             Notify continuously while mouse is over the window
  560. Auto-repeat        Notify of click, then auto-repeat
  561. Click              Notify once
  562. Release            Notify of release
  563. Double click       Notify of double-click
  564. Click/Drag         As 'Click' + Notify of drag (returns button*16)
  565. Release/Drag       As 'Release' + Notify of drag (button*16)
  566. Double/Drag        As 'Double click' + Notify of drag (button*16)
  567. Double/Click/Drag  Notify of Click (*256), Drag (*16), Doubleclick (*1)
  568. Writable           As 'Click' + Gain caret when clicked
  569.  
  570. (Clicks with Menu are ALWAYS passed on to the task)'Ignore extent' flags
  571. Flags ON : Ignore window extent when resizing it
  572.            Drag-box is unbounded to the right
  573.            (H flag) or to bottom (V flag)
  574. Flags OFF: Bounded drag-box, calculated from
  575.            window extent
  576.  
  577. These flags are not known in RiscOS 2'Keep on Screen' flag
  578. Flag ON : When moving or resizing, visible area
  579.           is kept fully within screen area
  580. Flag OFF: Window can be dragged partly off-screenMin. size
  581. Minimizes the icon size, in X-, Y- or
  582. both dimensions. The bottomleft corner
  583. of the icons is kept at the same positionCustom sprites
  584. View/Edit   Run the file with custom sprites
  585.             (i.e. make !Paint load it) 
  586. Re-load     Read the file again (after you
  587.             have edited it)
  588. Reset       Discard the sprites, use the
  589.             Wimp areaEnsure icons
  590. Check the position of icons, making sure
  591. that they are
  592.   - within the window's work area, or
  593.   - within the currently visible area
  594.  
  595. and move them if needed  Deleted icons
  596. To retrieve icons that have been
  597. marked as deleted, or to
  598. definitively remove themAddress
  599. You can send your comments, bug reports,
  600. questions, postcards, etc. to:
  601.  
  602. #Indent 4
  603. Dick Alstein
  604. Lijnslagerstraat 204
  605. NL-5625BP  Eindhoven
  606. The Netherlands
  607.  
  608. e-mail: wsinda@info.win.tue.nl
  609.         (until 15-Sep-94)