home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15438 < prev    next >
Encoding:
Text File  |  1992-09-13  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!sunic!kth.se!dront.nada.kth.se!d88-jwa
  3. From: d88-jwa@dront.nada.kth.se (Jon W{tte)
  4. Subject: Re: Please HELP - Need source code or general help with ICONs
  5. In-Reply-To: kjt001@dunix.drake.edu's message of Mon, 14 Sep 1992 07:03:19 GMT
  6. Message-ID: <D88-JWA.92Sep14114254@dront.nada.kth.se>
  7. Originator: d88-jwa@dront.nada.kth.se
  8. Sender: usenet@kth.se (Usenet)
  9. Nntp-Posting-Host: dront.nada.kth.se
  10. Organization: Royal Institute of Technology, Stockholm, Sweden
  11. References: <1992Sep14.070319.14920@dunix.drake.edu>
  12. Date: Mon, 14 Sep 1992 10:42:54 GMT
  13. Lines: 24
  14.  
  15. > kjt001@dunix.drake.edu (Kevin Tieskoetter) writes:
  16.  
  17.    Can anyone direct me to source code that deals with Icons?  Code for
  18.    simple things like clicking, dragging, highlighting, double-clicking,
  19.    etc...?
  20.  
  21.    Apparently, there aren't any toolbox routines for these things, so I was
  22.    wondering if a library or something similar existed.  If not that, could
  23.  
  24. Huh!? You get MouseDown events, you draw into a one-bit offscreen GrafPort
  25. to see what's hit, you call CopyBits for various highlighting features,
  26. you call GetDblTime() to see if something's double-clicked, ...
  27.  
  28.    someone give me advice on the best way to handle such things?  I'm
  29.    relatively new to macintosh programming, and I'm working in Think C 4.0
  30.    right now.
  31.  
  32. Or use the Think Class Library, it's good. Read the documentation
  33. (OOP programming manual)
  34.  
  35. -- 
  36. Jon W{tte, h+@nada.kth.se, Sweden, Phone +46-8-107069
  37.  
  38. Help eradicate FIDO-Net <-> Usenet gateways in our time!
  39.