Help Please!!!
I think I am probably misunderstanding something and so far appear
to be doing nothing but going around in circles. I've searched
through CSA programmer archives on Google Groups also before
posting.
So I've started a task using SYS"Wimp_StartTask" That is working
fine.
Listening for message &808C2 (TaskWindow_Ego) to grab correct task
handle Again, working fine.
(I can have also tested &808C4 (TaskWindow_Morite) to kill the task)
Now I'm thinking I should be listening for &808C1
(TaskWindow_Output) to receive the contents of the TaskWindow. Is
that correct?
In article <61f8e2b75c.Paul@phorefaux>,
Paul Stewart <phorefaux@gmail.com> wrote:
Help Please!!!
I think I am probably misunderstanding something and so far appear
to be doing nothing but going around in circles. I've searched
through CSA programmer archives on Google Groups also before
posting.
So I've started a task using SYS"Wimp_StartTask" That is working
fine.
Listening for message &808C2 (TaskWindow_Ego) to grab correct task
handle Again, working fine.
(I can have also tested &808C4 (TaskWindow_Morite) to kill the task)
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.
You can also send input to the TW by sending a TaskWindow_Input
message.
Remember to Ack where appropriate!
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.
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).
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've never tried to intercept and display taskwindow output manually,
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).
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?
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've never tried to intercept and display taskwindow output
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).
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.
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've never tried to intercept and display taskwindow output
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).
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?
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 117:56:07 |
| Calls: | 125 |
| Calls today: | 125 |
| Files: | 489 |
| D/L today: |
859 files (365M bytes) |
| Messages: | 76,488 |
| Posted today: | 26 |