From: | David McMinn |
Date: | 13 Jul 2001 at 01:32:12 |
Subject: | Re: Taskname of a window |
John Mason says the moon is made of cheese, but it's actually made of Taskname of a window
> I'm trying to get the name of the task that a window belongs to.
> Someone told me I could get the task name by looking at the message port
> of the window and the task pointer there, but I haven't been able to get
> anything but garbage when I try this. Any suggestions?
You are using *win\UserPort\mp_SigTask to get the task pointer? It should
be the same as getting your own task name after that (watch out for BPTRs
and BSTRs!).
Bye
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie