home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / acorn / 7958 < prev    next >
Encoding:
Internet Message Format  |  1992-07-20  |  1.6 KB

  1. Path: sparky!uunet!mcsun!sunic!isgate!krafla!grun.is!thsa
  2. From: thsa@grun.is (Thorvaldur S. Arnarson)
  3. Newsgroups: comp.sys.acorn
  4. Subject: Re: IconFlag "NeedsHelpToBeRedrawn"
  5. Message-ID: <1162@grun.is>
  6. Date: 20 Jul 92 12:50:12 GMT
  7. References: <1161@grun.is> <1992Jul18.003035.23890@cs.aukuni.ac.nz>
  8. Organization: G.Run hf
  9. Lines: 28
  10.  
  11. jwil1@cs.aukuni.ac.nz (TMOTA) writes:
  12. >thsa@grun.is (Thorvaldur S. Arnarson) writes:
  13. >>I've been trying to figure out what happens when the "NeedsHelpToBeRedrawn"
  14. [stuff deleted...]
  15. >I think this means that to get any effect you must have needs-help set in
  16. >the icon, AND auto-redraw turned off in the window.
  17.  
  18. >the icon, AND auto-redraw off in the window...
  19. >-- 
  20. >_________________  "I'd like to answer this question in two ways:
  21. >  /____ _ _/_ __       First in my normal voice, and then
  22. > // / //_//_ /_/       in a silly, high-pitched whine." (Monty Python)
  23.  
  24. I allways thoght the NeedsHelp bit was a means to get redraw requests for
  25. a small portion of the screen, but as I have now found out it works
  26. something like this:
  27.   o If the AutoRedraw bit of the window is on this bit produces no effect
  28.     at all!
  29.   o If AutoRredraw is set the area under the icon is redrawn regardless of
  30.     NeedsHelp.
  31.   o If NeedsHelp and Autoredraw are set and SWI "Wimp_SetIconState" is
  32.     executed a redraw request is issued for the area behind the icon.
  33.  
  34. In my oppinion this behaviour is rather mildly usefull.  It would have
  35. given more exact control over redraws if this bit caused redraw requests
  36. for the iconarea in an AutoRedraw window. 
  37. -- 
  38. Thorvaldur S. Arnarson (thsa@grun.is)  Short .sig rules!
  39.