Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: Paul Stewart Newsgroups: comp.sys.acorn.programmer Subject: Re: TaskWindow Messages - output Date: Wed, 11 Mar 2026 19:42:34 GMT Organization: A noiseless patient Spider Lines: 45 Message-ID: <88a00ab85c.Paul@phorefaux> References: <61f8e2b75c.Paul@phorefaux> <5cb7e6d170News04@avisoft.f9.co.uk> <167a00b85c.Paul@phorefaux> <85de05b85c.harriet@bazleyfamily.co.uk> Injection-Date: Wed, 11 Mar 2026 19:46:30 +0000 (UTC) Injection-Info: dont-email.me; posting-host="d28bce01331518279a6b1dec393dbac1"; logging-data="1473710"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19VYKif+zuHG4e3aIr/iIqd" User-Agent: Messenger-Pro/9.00 (MsgServe/9.00) (RISC-OS/4.42) NewsHound/v1.54 Cancel-Lock: sha1:b6zu6AyBq34cAHb+Y5uCOaj5m/g= X-Editor: EmailEdit 2.04 Xref: csiph.com comp.sys.acorn.programmer:6616 In message <85de05b85c.harriet@bazleyfamily.co.uk> Harriet Bazley wrote: > On 11 Mar 2026 as I do recall, > Paul Stewart wrote: >>>> Now I'm thinking I should be listening for &808C1 >>>> (TaskWindow_Output) to receive the contents of the TaskWindow. Is >>>> that correct? >> >>> Yes, that is how you see the output to display yourself, interrogate, >>> or lose. > [snip] >> Issue I have is that I am not receiving the &808C1 message. >> >> I get the &808C3 when it has finished, but I also want the output that >> would usually be in the Task Window (if I was to manually run it, rather >> than run via Wimp_StartTask). >> > I've never tried to intercept and display taskwindow output manually, > but is it possible that you have to register yourself as an official > 'taskwindow handler' with the Wimp first in order to prevent its being > intercepted and displayed by Edit or StrongED or some other recognised > handler? > And - the usual question - have you added TaskWindow_Output to the list > of Wimp messages to be passed on to Wimp_Poll, or is it getting masked > out by default? Well at the moment I have added &808C0 - &808C6 to Wimp messages Looking at PRM3, page 263,TaskWindow_Ouput - this message is sent to the Parent when one of it's children has produced output. I would have thought because the task has generated output into the task window (although the window is not open), that would register as output and therefore generate &808C1 message. Or am I completely misunderstanding this? Which would not surprise me as I am not the best at understanding the PRMs :( -- Paul Stewart Sent from A9home running RISC OS 4.42