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