Window address
Author |
Message |
vlovich
|
Posted: Sun Jun 01, 2003 6:51 pm Post subject: 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. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Mazer
|
Posted: Sun Jun 01, 2003 7:07 pm Post subject: (No subject) |
|
|
umm...
code: |
var win := Window.Open ("graphics:500;500")
put win |
is that ok? |
|
|
|
|
|
vlovich
|
Posted: Sun Jun 01, 2003 8:16 pm Post subject: (No subject) |
|
|
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
|
Posted: Sun Jun 01, 2003 11:14 pm Post subject: (No subject) |
|
|
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. |
Computer Science Canada
Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more! |
|
|
|
|
Martin
|
Posted: Mon Jun 02, 2003 7:44 am Post subject: (No subject) |
|
|
Try var x : ^defWinID...might work |
|
|
|
|
|
Martin
|
Posted: Mon Jun 02, 2003 7:45 am Post subject: (No subject) |
|
|
Or var x:^winID....(where winID is the window variable that you used) |
|
|
|
|
|
Martin
|
Posted: Mon Jun 02, 2003 7:46 am Post subject: (No subject) |
|
|
Bleh, that doesn't work. Sorry |
|
|
|
|
|
|
|