Article View: comp.sys.acorn.tech
Article #304New Iconizer
From: Andrew Hersee
Date: Mon, 09 Nov 1992 12:46
Date: Mon, 09 Nov 1992 12:46
51 lines
1927 bytes
1927 bytes
Right then, Can someone please help me. I am writing a new Iconizer
for RO3. In Acorn's docs they state:
When a new iconizer starts up:
It broadcasts a Message_WindowInfo with
+20 0. (Window handle 0)
+24
An iconizer receiving this message should reopen
all iconized windows, and quit.
All applications should ignore such a message.
Below is an extract from my code which basically shows you what I am
initialising the task with and the message I am broadcasting. Can
anyone out there explain what I am doing wrong? Why won't Pinboard
open all it's iconized windows and then let me claim any
message_windowinfo messages?
message_iconize=&400CA
message_windowinfo=&400CB
message_windowclosed=&400CC
mess%!0=17
mess%!4=18
mess%!8=&400C8
mess%!12=&400C9
mess%!16=&400CA
mess%!20=&400CB
mess%!24=&400CC
mess%!32=0
SYS "Wimp_Initialise",310,&4B534154,"Iconizer",mess% TO wimp,us%
!bk%=56:bk%!12=0:bk%!16=message_windowinfo
bk%!20=0:bk%!24=0
ignorewindowinfo=TRUE :So that we know not to quit when we receive it
SYS "Wimp_SendMessage",17,bk%,0
myref=bk%!8
It looks as though I may have to write my own Pinboard which would be
a real pain since Pinboard is quit fast at redrawing the background.
Thanks
Andrew Hersee
Technical Details
Message-ID:
<1992Nov9.124617.28025@dcs.warwick.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!agate!doc.ic.ac.uk!uknet!warwick!dcs.warwick.ac.uk!aherseeShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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 From: ahersee@dcs.warwick.ac.uk (Andrew Hersee) Newsgroups: comp.sys.acorn.tech Subject: New Iconizer Message-ID: <1992Nov9.124617.28025@dcs.warwick.ac.uk> Date: 9 Nov 92 12:46:17 GMT Sender: news@dcs.warwick.ac.uk (Network News) Organization: Department of Computer Science, Warwick University, England Lines: 51 Nntp-Posting-Host: tamarind