Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!border3.nntp.ams.giganews.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Wed, 28 Sep 2011 13:52:45 -0500 From: "Ste (news)" Subject: Re: TaskWindow -txt &xxxxxxxx Newsgroups: comp.sys.acorn.programmer Date: Wed, 28 Sep 2011 19:52:41 +0100 Message-ID: <5219effb8csteve@revi11.plus.com> References: <3613761952.davehigton@dsl.pipex.com> <068f781952.martin@bach.planiverse.com> <5219d7bca2steve@revi11.plus.com> User-Agent: Pluto/3.04d (RISC-OS/5.17) NewsHound/v1.50-32 Organization: None Lines: 30 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-Zjjv6zdhm03yZ5QeSmczhibeGXugKkx60H3KduvUXr26YzMAKlXK8v3HIPnBdksttw1a9IlP9OExr7E!13asoLR+xHsjNthxj7VTXYNyoq9nQN7mO4nHNhFP0Bdd8IdxNk5Rnx0TwaxxuWudL28QtDujt1d8!3w== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2160 Xref: x330-a1.tempe.blueboxinc.net comp.sys.acorn.programmer:799 In article , Martin Wuerthner wrote: > Really? How does the child get hold of the txt-handle value? I'm sure that's what I did in the past but now you come to mention it, I can't remember what the program was that implemented this so perhaps it didn't work that way after all. Let me do some digging and get back to you on that. :) > Of course, the most obvious thing for the parent to use as the > txt-handle is a pointer to some data structure that is associated with > the child, so when receiving TaskWindow_Ego, the parent has immediate > access to its own data relating to the child, but I cannot see how you > could pass anything into the child using the txt-handle. This is pretty much what I thought I'd done in the past... Several fruitless searches later... You're right, of course. I had used a pointer to a structure as the txt-handle but only because that was a convenient number. I actually passed the pointer to the child task later. Ta, Steve -- Steve Revill @ Home Note: All opinions expressed herein are my own.