
-----------------------------------
vlovich
Sun Jun 01, 2003 6:51 pm

Window address
-----------------------------------
I am looking to see if anyone knows how I can retrieve the address of the window that I use for my program.  And if you do, could you also tell me, if you know, where the information about the stuff drawn on the screen starts.

-----------------------------------
Mazer
Sun Jun 01, 2003 7:07 pm


-----------------------------------
umm...

var win := Window.Open ("graphics:500;500")
put win

is that ok?

-----------------------------------
vlovich
Sun Jun 01, 2003 8:16 pm


-----------------------------------
no.  first of all, the variable simply stores the nth window that's been opened.  It doesn't store the actual adress of the window in memory, and that's what i need.

-----------------------------------
Dan
Sun Jun 01, 2003 11:14 pm


-----------------------------------
i dont think turing could do that, or do that in the wya you whont. there are pointers in truing but i dont think they could be use in that way.

-----------------------------------
Martin
Mon Jun 02, 2003 7:44 am


-----------------------------------
Try var x : ^defWinID...might work

-----------------------------------
Martin
Mon Jun 02, 2003 7:45 am


-----------------------------------
Or var x:^winID....(where winID is the window variable that you used)

-----------------------------------
Martin
Mon Jun 02, 2003 7:46 am


-----------------------------------
Bleh, that doesn't work. Sorry
