home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15027 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!samsung!transfer!ceylon!bunny!rc05
  2. From: rc05@gte.com (Ramesh Chandak)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Dealing with PICTs in an application built with THINK C
  5. Message-ID: <18764@bunny.GTE.COM>
  6. Date: 5 Sep 92 03:23:42 GMT
  7. Organization: GTE Laboratories Incorporated, Waltham MA
  8. Lines: 18
  9.  
  10. I developed the interface using AppMaker and then generated the THINK C
  11. code for it.  Then I copied couple of PICTs from the scrapbook onto
  12. one of the windows within the application.  What I want to do is very
  13. simple : you click on PICT 1, the application should open WINDOW 1.
  14. When you click on PICT2, the application should open WINDOW 2. However,
  15. even from the source code level, I'm not able to define PICT 1 and 2
  16. as separate from the WINDOW.  
  17.  
  18. At the source code level,  there is a procedure called MOUSEIN which
  19. acts for the WINDOW.  So I click on any place on the window, it goes
  20. to WINDOW 1.  
  21.  
  22. ANy ideas on how I can achieve PICT 1 -> WINDOW 1 and PICT 2 -> WINDOW 2
  23. functionality.  ANy public domain source code available that might help ?
  24. Any pointers / references / suggestions will be greatly appreciated.  Thanx
  25. much in advance.
  26.  
  27. - Ramesh M. Chandak
  28.