Groups | Search | Server Info | Login | Register
Groups > comp.sys.acorn.programmer > #6618
| From | Paul Stewart <phorefaux@gmail.com> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: TaskWindow Messages - output |
| Date | 2026-03-12 20:32 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <8c0b93b85c.Paul@phorefaux> (permalink) |
| References | (1 earlier) <5cb7e6d170News04@avisoft.f9.co.uk> <167a00b85c.Paul@phorefaux> <85de05b85c.harriet@bazleyfamily.co.uk> <88a00ab85c.Paul@phorefaux> <5cb81f53e1News04@avisoft.f9.co.uk> |
In message <5cb81f53e1News04@avisoft.f9.co.uk>
Martin <News04@avisoft.f9.co.uk> wrote:
> In article <88a00ab85c.Paul@phorefaux>,
> Paul Stewart <phorefaux@gmail.com> wrote:
>> In message <85de05b85c.harriet@bazleyfamily.co.uk>
>> Harriet Bazley <harriet@bazleyfamily.co.uk> 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.
> What command have you passed to the TaskWindow command?
> What did you provide for the -task and -txt values?
Hi all, thanks for your replies and Martin, thanks for the email.
After going down what feels like a couple of rather large rabbit holes, I
finally go the bottom of the issue.
My TaskWindow routines were fine.
The issue was with the command I was passing to Wimp_StartTask.
I was using a flag to generate a log file. I had not appreciated that the
flag was log file or task window output.
--
Paul Stewart
Sent from A9home running RISC OS 4.42
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Find similar
TaskWindow Messages - output Paul Stewart <phorefaux@gmail.com> - 2026-03-11 12:29 +0000
Re: TaskWindow Messages - output Martin <News04@avisoft.f9.co.uk> - 2026-03-11 13:11 +0000
Re: TaskWindow Messages - output Paul Stewart <phorefaux@gmail.com> - 2026-03-11 17:51 +0000
Re: TaskWindow Messages - output Harriet Bazley <harriet@bazleyfamily.co.uk> - 2026-03-11 18:50 +0000
Re: TaskWindow Messages - output Paul Stewart <phorefaux@gmail.com> - 2026-03-11 19:42 +0000
Re: TaskWindow Messages - output Martin <News04@avisoft.f9.co.uk> - 2026-03-11 23:28 +0000
Re: TaskWindow Messages - output Paul Stewart <phorefaux@gmail.com> - 2026-03-12 20:32 +0000
csiph-web