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