home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / mac / programm / 18206 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  2.1 KB

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!doc.ic.ac.uk!uknet!mcsun!news.funet.fi!funic!nntp.hut.fi!cs.hut.fi!aleskine
  2. From: aleskine@cs.hut.fi (Arto Leskinen)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Complex window and popup v
  5. Message-ID: <ALESKINE.92Nov9221258@cardhu.cs.hut.fi>
  6. Date: 9 Nov 92 20:13:02 GMT
  7. Sender: usenet@nntp.hut.fi (Usenet pseudouser id)
  8. Distribution: comp.sys.mac.programmer
  9. Organization: Helsinki University of Technology, Finland
  10. Lines: 37
  11. Nntp-Posting-Host: cardhu.cs.hut.fi
  12.  
  13. I have window with two popups, some static text and some buttons. Is this
  14. best done by program, or should I use window/dialog resourse for this.
  15. Of course I want that my window works on background. (Modeless?)
  16.  
  17. What is easiest way to make up popup with down arrow on it? I do not want
  18. to use menu resourse, because I do not know on startup time how many and 
  19. which items I have in menu. If someone has example code on think C I would 
  20. appreciate.
  21.  
  22. Can a program use code resources of different files? How?
  23.  
  24. My window has similar look than finder's. So I do not want scrollbars all the
  25. way. And I do not want line that goes up. Is there any way to stop drowing on
  26. update?
  27.  
  28. -so  I want following:
  29. ____________________________________________________
  30. |=[ ]===============  Window  ==================F]=|
  31. |--------------------------------------------------|
  32. | |Calendar v|  |Tools||v|     Widowfile           |
  33. |==================================================|
  34. |        Window contents ...                    |/\|
  35. |             ...                               |--|
  36.  
  37. but I get:
  38. ____________________________________________________
  39. |=[ ]===============  Window  ==================F]=|
  40. |--------------------------------------------------|
  41. | |Calendar v|  |Tools||v|     Widowfile        |  |  Here!
  42. |==================================================|
  43. |        Window contents ...                    |/\|
  44. |             ...                               |--|
  45. Now I draw white line on top of irritating line, but user has enough time to
  46. see black line flashing before I remove it.
  47.  
  48. Arto Leskinen
  49. aleskine@cs.hut.fi
  50.