[comp.sys.amiga.tech] how to find the current window ptr

josef@augs.ccs.imp.com (Josef Egloff) (08/09/90)

for a little utility I need the window ptr of the current shell or cli
window in wich I've startet my utility. how can I do this? looked at the
process structure but, there is only the pr_WindowPtr and this is set
to (normaly) NULL (wich means that requesters appear on the workbench).
scanning through the IntuitionBase istn't very easy (and not clean I think).
little source are very helpfull but not expected :-).

hint can be send directy to me or in this group. thanks to all

cu josef

--
<  Josef Egloff            |         USENET:  josef@augs.ccs.imp.com   >
<  Pfaffnernweg 19         |         PATH:    impch!accsys!augs!josef  >
<  CH - 4852 Rothrist      |         CBMNET:  cbmswi!augs1!jegloff     >
<  Switzerland             |         AUGS:    as SYSOP (acc #1)        >