home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / acorn / tech / 542 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  1.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!agate!doc.ic.ac.uk!uknet!warwick!dcs.warwick.ac.uk!ahersee
  2. From: ahersee@dcs.warwick.ac.uk (Andrew Hersee)
  3. Newsgroups: comp.sys.acorn.tech
  4. Subject: New Iconizer
  5. Message-ID: <1992Nov9.124617.28025@dcs.warwick.ac.uk>
  6. Date: 9 Nov 92 12:46:17 GMT
  7. Sender: news@dcs.warwick.ac.uk (Network News)
  8. Organization: Department of Computer Science, Warwick University, England
  9. Lines: 51
  10. Nntp-Posting-Host: tamarind
  11.  
  12. Right then, Can someone please help me. I am writing a new Iconizer
  13. for RO3. In Acorn's docs they state:
  14.   
  15.   When a new iconizer starts up:
  16.  
  17.                     It broadcasts a Message_WindowInfo with
  18.  
  19.                     +20 0.   (Window handle 0)
  20.                     +24
  21.                     
  22.                     An iconizer receiving this message should reopen 
  23.                     all iconized windows, and quit.
  24.  
  25.                     All applications should ignore such a message.
  26.  
  27. Below is an extract from my code which basically shows you what I am
  28. initialising the task with and the message I am broadcasting. Can
  29. anyone out there explain what I am doing wrong? Why won't Pinboard
  30. open all it's iconized windows and then let me claim any
  31. message_windowinfo messages?
  32.  
  33.  
  34.  message_iconize=&400CA
  35.  message_windowinfo=&400CB
  36.  message_windowclosed=&400CC
  37.  
  38.  mess%!0=17
  39.  mess%!4=18
  40.  mess%!8=&400C8
  41.  mess%!12=&400C9
  42.  mess%!16=&400CA
  43.  mess%!20=&400CB
  44.  mess%!24=&400CC
  45.  mess%!32=0
  46.  SYS "Wimp_Initialise",310,&4B534154,"Iconizer",mess% TO wimp,us%
  47.  
  48.  !bk%=56:bk%!12=0:bk%!16=message_windowinfo
  49.  bk%!20=0:bk%!24=0
  50.  ignorewindowinfo=TRUE :So that we know not to quit when we receive it
  51.  SYS "Wimp_SendMessage",17,bk%,0
  52.  myref=bk%!8
  53.  
  54.  
  55. It looks as though I may have to write my own Pinboard which would be
  56. a real pain since Pinboard is quit fast at redrawing the background.
  57.  
  58. Thanks
  59.  
  60.  
  61. Andrew Hersee 
  62.  
  63.