Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Window address
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
vlovich




PostPosted: 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
Sponsor
sponsor
Mazer




PostPosted: 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




PostPosted: 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




PostPosted: 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




PostPosted: Mon Jun 02, 2003 7:44 am   Post subject: (No subject)

Try var x : ^defWinID...might work
Martin




PostPosted: 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




PostPosted: Mon Jun 02, 2003 7:46 am   Post subject: (No subject)

Bleh, that doesn't work. Sorry
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: