home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14288 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  978 b 

  1. Path: sparky!uunet!convex!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!ames!agate!ucbvax!ucdavis!othello.ucdavis.edu!fzchen
  2. From: fzchen@othello.ucdavis.edu
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: CDEF Sample Source Code
  5. Message-ID: <16253@ucdavis.ucdavis.edu>
  6. Date: 20 Aug 92 22:36:42 GMT
  7. Sender: usenet@ucdavis.ucdavis.edu
  8. Distribution: comp.sys.mac.programmer
  9. Organization: Computing Services, UC Davis
  10. Lines: 11
  11.  
  12. Howdy!  I'm trying toolearn the Mac Toolbox.  I'm writing a quick
  13. and dirty paint program in C++ to get a feel for using the toolbox.  
  14. I'd like to implement a palette like standard paint programs.  I would
  15. also like the flexibility of being able to give the buttons in the palette
  16. special behavior (like a popup palette).  To do this, I think I should
  17. make the palette into a collection of custom controls.  
  18.  
  19. Can anybody help me locate some sample CDEF source code, or suggest
  20. a better way to do this?  Please e-mail me any replies.  Thanx.
  21.  
  22. MeatHead
  23.