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

Username:   Password: 
 RegisterRegister   
 GUI return value help
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Captain Cat




PostPosted: Wed Jun 08, 2005 7:45 pm   Post subject: GUI return value help

OK, i am going to have a circle moving around the screen. Now using the GUI how do i return a value/location of where I clicked allowing me to compare it with the location of the circle? To untimalty determain if the circle was clicked on? Thus giving the user a point if he/she clciked on the circle.... and have the circle fall down off the screen if it was clicked on.... could someone plase help me with this.... i am very new to the GUI model and would greatly apperciate some help..... well thanks a million in advance and sorry for the dumb question
Sponsor
Sponsor
Sponsor
sponsor
Captain Cat




PostPosted: Wed Jun 08, 2005 9:06 pm   Post subject: (No subject)

can anyone atleast give me a hint of what to use and where to look?
lyam_kaskade




PostPosted: Wed Jun 08, 2005 9:33 pm   Post subject: (No subject)

the Mouse.Where command will return an x and y value for where the mouse is. I'm not sure if thats what you meant. There's a tutorial on it here:
http://www.compsci.ca/v2/viewtopic.php?t=6
vagyb




PostPosted: Wed Jun 08, 2005 9:37 pm   Post subject: (No subject)

i hate gui's Sad
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  [ 4 Posts ]
Jump to:   


Style:  
Search: