home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / mac / programm / 18732 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.5 KB  |  40 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!primerd.prime.com!usenet
  3. From: Jim Cook <J.Cook@ENS.Prime.COM>
  4. Subject: Re: Scrollbars in ModalDialog, how to?
  5. Message-ID: <1992Nov20.215011.27674@primerd.prime.com>
  6. Sender: usenet@primerd.prime.com (Usenet)
  7. Reply-To: <J.Cook@ENS.Prime.COM>
  8. Organization: Prime Computer, Inc.
  9. References: <1992Nov19.192050.10502@rtsg.mot.com>
  10. Date: Fri, 20 Nov 1992 21:50:11 GMT
  11. Lines: 27
  12.  
  13. In article <1992Nov19.192050.10502@rtsg.mot.com> wolfmc@rtsg.mot.com (Michael
  14. Wolf) writes:
  15. >I have a dialog which I have some scrollbars in.  I have the CNTL
  16. >resources as well.  All was done in ResEdit.
  17. >
  18. >I have my own dialog filter proc.  I was wondering, should I handle
  19. >all of the scrollbar interaction in my filter proc?  If I don't
  20. >the standard filter proc will do the TrackControl when in the thumb and
  21. >up/down arrows, but what about the page up/down areas?
  22. >
  23. >So I was wondering what the correct way to handle this is, I want to make
  24. >sure I follow all the nice guidelines from Apple (ie:  should I handle
  25. >it or let the dialog manager it for me).
  26.  
  27. Mmmm...I was writing a thresholding control in a dialog box.  I "discovered"
  28. that indeed the dialog mgr. would handle a scrollbar, but ResEdit would only
  29. allow me to have the scroll bar of some max. size that was too small for
  30. me (not enough granularity).  I wound up handling it in my filter proc. or
  31. whatever it was.
  32.  
  33. Just a datapoint.
  34.  
  35. (Don't call me an expert).
  36.  
  37. Good luck,
  38. Jim
  39.  
  40.