Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #877

Re: TaskWindow -txt &xxxxxxxx

From druck <news@druck.org.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: TaskWindow -txt &xxxxxxxx
Date 2011-10-15 12:13 +0100
Organization A noiseless patient Spider
Message-ID <j7bps7$vf1$1@dont-email.me> (permalink)
References (1 earlier) <068f781952.martin@bach.planiverse.com> <5219d7bca2steve@revi11.plus.com> <a930dc1952.martin@bach.planiverse.com> <j69v2p$v9c$1@dont-email.me> <4e96ae2b$0$4463$e4fe514c@dreader19.news.xs4all.nl>

Show all headers | View raw


On 13/10/2011 10:23, Erik G wrote:
> On 2-10-2011 17:13, druck wrote:
>> On 28/09/2011 16:16, Martin Wuerthner wrote:
>>> In message<5219d7bca2steve@revi11.plus.com>
>>>             "Ste (news)"<steve@revi11.plus.com>   wrote:
>>>> One example use for the txt-handle is to pass a pointer to some
>>>> workspace
>>>> into the child.
>>>
>>> Really? How does the child get hold of the txt-handle value?
>>
>> Via the -txt parameter to *TaskWindow.
>>
>> !Edit the original taskwindow managing application uses it to pass the
>> handle of a RISCOS_Lib txt_window structure, hence the name 'txt-handle'.
>
> Question remains: How exactly does the child read the value of the -txt
> parameter that was passed to the TaskWindow command?

Define child. There are up to 4 actors:-

1) The TaskWindow module
2) Initiator - who or what issues *TaskWindow
3) Handler   - a wimp task which provides the window for taskwindow 
output, can be the same as (2)
4) The taskwindow task spawned by (1) when it receives (2)

I assume by child you mean (4), in which can it doesn't get the txt 
parameter, as it's there for the use of the Initiator (2) which in this 
case will also be the Handler (4), as anyone else using the *TaskWindw 
command can't know the internal information.

The Handler (3) gets the txt parameter TaskWindow_Ego message sent by 
(1) along with the task handle of the new taskwindow task (4), so the 
handler can associate the two, and know how to deal with subsequent 
messages quoting just the task handle.

That's a more complicating explanation than I intended, but never mind!

---druck

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-09-27 21:41 +0100
  Re: TaskWindow -txt &xxxxxxxx Martin Wuerthner <spamtrap@mw-software.com> - 2011-09-27 23:08 +0200
    Re: TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-09-27 22:33 +0100
    Re: TaskWindow -txt &xxxxxxxx "Ste (news)" <steve@revi11.plus.com> - 2011-09-28 15:27 +0100
      Re: TaskWindow -txt &xxxxxxxx Martin Wuerthner <spamtrap@mw-software.com> - 2011-09-28 17:16 +0200
        Re: TaskWindow -txt &xxxxxxxx "Ste (news)" <steve@revi11.plus.com> - 2011-09-28 19:52 +0100
          Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-09-30 06:02 +0200
        Re: TaskWindow -txt &xxxxxxxx druck <news@druck.org.uk> - 2011-10-02 16:13 +0100
          Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-10-13 11:23 +0200
            Re: TaskWindow -txt &xxxxxxxx Alex Macfarlane Smith <nospam@archifishal.co.uk> - 2011-10-13 21:08 +0100
            Re: TaskWindow -txt &xxxxxxxx druck <news@druck.org.uk> - 2011-10-15 12:13 +0100
              Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-10-18 16:25 +0200
                Re: TaskWindow -txt &xxxxxxxx Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-19 10:45 +0200
    Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-09-30 05:47 +0200
      Re: TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-09-30 22:38 +0100
        Re: TaskWindow -txt &xxxxxxxx Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-01 05:49 +0200
          Re: TaskWindow -txt &xxxxxxxx Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-01 13:19 +0200
        Re: TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-10-01 20:20 +0100
          Re: TaskWindow -txt &xxxxxxxx Steve Fryatt <news@stevefryatt.org.uk> - 2011-10-01 20:51 +0100
            Re: TaskWindow -txt &xxxxxxxx Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-01 22:46 +0200
              Re: TaskWindow -txt &xxxxxxxx Steve Fryatt <news@stevefryatt.org.uk> - 2011-10-01 22:07 +0100
              Re: TaskWindow -txt &xxxxxxxx Steve Fryatt <news@stevefryatt.org.uk> - 2011-10-01 22:04 +0100
              Re: TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-10-01 22:45 +0100
            Re: TaskWindow -txt &xxxxxxxx Dave Higton <davehigton@dsl.pipex.com> - 2011-10-01 22:44 +0100
          Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-10-18 15:23 +0200
            Re: TaskWindow -txt &xxxxxxxx Erik G <erikg@noname.invalid> - 2011-10-18 15:55 +0200
            Re: TaskWindow -txt &xxxxxxxx druck <news@druck.org.uk> - 2011-10-19 20:27 +0100
  Re: TaskWindow -txt &xxxxxxxx Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-14 07:53 +0200
    Re: TaskWindow -txt &xxxxxxxx Gavin Wraith <gavin@wra1th.plus.com> - 2011-10-14 11:43 +0100
      Re: TaskWindow -txt &xxxxxxxx Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-14 13:26 +0200
        Re: TaskWindow -txt &xxxxxxxx Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-15 20:37 +0200
    Re: TaskWindow -txt &xxxxxxxx druck <news@druck.freeuk.com> - 2011-10-16 18:26 +0100
      Re: TaskWindow -txt &xxxxxxxx Stewart Brodie <stewart.brodie@ntlworld.com> - 2011-10-16 23:28 +0100
        Re: TaskWindow -txt &xxxxxxxx druck <news@druck.org.uk> - 2011-10-19 20:30 +0100

csiph-web