home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / acorn / 8391 < prev    next >
Encoding:
Internet Message Format  |  1992-08-27  |  1.4 KB

  1. Path: sparky!uunet!mcsun!uknet!acorn!pcolmer
  2. From: pcolmer@acorn.co.uk (Philip Colmer)
  3. Newsgroups: comp.sys.acorn
  4. Subject: Re: Validation of Acorns DesktopC includes
  5. Message-ID: <18119@acorn.co.uk>
  6. Date: 27 Aug 92 13:58:16 GMT
  7. References: <17ia0qINNm20@oak10.doc.ic.ac.uk>
  8. Sender: pcolmer@acorn.co.uk
  9. Organization: Acorn Computers Ltd, Cambridge, England
  10. Lines: 22
  11.  
  12. In article <17ia0qINNm20@oak10.doc.ic.ac.uk> ijp@doc.ic.ac.uk (Ian Palmer) writes:
  13.  
  14. >Yes but then it's too late. Wimp_Initialise (which is done by
  15. >wimpt_init) now has an extra parameter in which you pass a list of
  16. >things you want to use (although what these things are ???). These (as
  17. >far as I can tell) have to be registered for there and then.
  18.  
  19. The additional parameter to Wimp_Initialise, R3, is a pointer to a
  20. null-terminated list of messages that the application wants to receive
  21. through event types 17 and 18. The point of this is to further
  22. optimise the task swapping that the window manager does, since it now
  23. knows that there is no point in waking up your application if you
  24. don't want the message its got.
  25.  
  26. You do *NOT* have to declare the messages at the time of calling
  27. Wimp_Initialise. There are two additional SWIs which allow you to add
  28. and remove message numbers.
  29.  
  30. --Fil.
  31.  
  32. ---------------------------------------------------------------------
  33.         Practise random kindness and senseless acts of beauty
  34.