home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / openloo / 4446 < prev    next >
Encoding:
Text File  |  1992-11-11  |  1.2 KB  |  33 lines

  1. Newsgroups: comp.windows.open-look
  2. Path: sparky!uunet!mcsun!sun4nl!tnofel!rkod5
  3. From: rkod5@fel.tno.nl (R. Koolma)
  4. Subject: question
  5. Message-ID: <1992Nov11.132813.9188@fel.tno.nl>
  6. Keywords: objects
  7. Organization: TNO Physics and Electronics Laboratory
  8. Date: Wed, 11 Nov 1992 13:28:13 GMT
  9. Lines: 22
  10.  
  11. Hello, I am faced with the following problem :
  12.  
  13.   We have a simulation program. Now we want to draw the objects in a window.
  14.   Sofar no problem, use a canvas. But now we want to be able to pick an 
  15.   object with the mouse and get information on a different screen.
  16.   The problem is that I don't want to use low level routines to get
  17.   the (x,y) position of the object and then check in a list if there is an
  18.   object close enough to this position.
  19.   The best thing would be something you can tell to move to some position and
  20.   which generates an event when clicked on. This event should contain all the
  21.   information about the simulation object (pointer).
  22.  
  23. At this moment I don't have the experience to create something like this. Some
  24. help would be nice.
  25.  
  26. Please send E-Mail, I read it more often.
  27.  
  28. /***********************************/
  29. /* Name   : Rolf Koolma            */
  30. /* E-Mail : rolf.koolma@fel.tno.nl */
  31. /***********************************/
  32.  
  33.