home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22240 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.7 KB  |  48 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!pageworks.com!world!eff!sol.ctr.columbia.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!sunic!kth.se!hemul.nada.kth.se!d88-jwa
  3. From: d88-jwa@hemul.nada.kth.se (Jon WΣtte)
  4. Subject: Re: Help for Poor Student
  5. Message-ID: <1993Jan26.193851.15483@kth.se>
  6. Sender: usenet@kth.se (Usenet)
  7. Nntp-Posting-Host: hemul.nada.kth.se
  8. Organization: Royal Institute of Technology, Stockholm, Sweden
  9. References: <1993Jan26.160238.22397@st-andrews.ac.uk>
  10. Date: Tue, 26 Jan 1993 19:38:51 GMT
  11. Lines: 35
  12.  
  13. In <1993Jan26.160238.22397@st-andrews.ac.uk> akm@st-andrews.ac.uk (Alasdair Macdonald) writes:
  14.  
  15. >A couple of questions which may be loosely conneted.
  16.  
  17. >   TextEdit. I have a dialog box with a user item for
  18. >   putting text into. I then put a scroll bar beside it
  19.  
  20. >   I could implement continuos scrolling using StillDown
  21. >   but that lets the user move the mouse off the scroll
  22.  
  23. >   HowUs it done? Sorry if itUs a FAQ.
  24.  
  25. NOT! It's not done. It's against the HIG. I hate it.
  26.  
  27. If you _want_ to do it, do it in your thumb tracking
  28. function (I assume you have Inside Mac volume I...)
  29. You could get the mouse position, and scroll the text
  30. to where the mouse is relative to the control's rect,
  31. with the values limited to max/min scrollable, of
  32. course.
  33.  
  34. >2. I would like to use thing like Gestalt but have no 
  35.  
  36. This is a hard one. The obvious response is "upgrade,"
  37. but maybe you can find the MPW libraries and headers
  38. lying around somewhere, and try converting them?
  39.  
  40. Cheers,
  41.  
  42.                         / h+
  43. -- 
  44.  -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
  45.    The word "politics" is derived from the word "poly", meaning
  46.    "many", and the word "ticks", meaning "blood sucking parasites".
  47.                      -- Larry Hardiman
  48.