Path: utzoo!mnetor!uunet!husc6!mailrus!ames!claris!apple!dwb From: dwb@Apple.COM (David W. Berry) Newsgroups: comp.sys.mac.programmer Subject: Re: Dialog Boxes with Scrollable region Message-ID: <7799@apple.Apple.Com> Date: 28 Mar 88 19:27:01 GMT References: <170800002@inmet> Reply-To: dwb@apple.UUCP (David W. Berry) Organization: Apple Computer Inc, Cupertino, CA Lines: 40 In article <170800002@inmet> lipsett@inmet.UUCP writes: > > >I am trying to build a dialog box with a scrollable region embedded in >it, similar to the SF Getfile box or the MS Word help box. It all >looked so straightforward...just create a UserItem and do the obvious >thing. > >So, what obvious thing am I missing? Please reply by E-mail; I will >summarize for the net if there are enough responses. Thanks in >advance. The solution, perhaps not obvious, is to go ahead and use a filter proc. The filter proc gets the event and can do a FindControl to determine if it's in the scroll bar or not. If it is, call TrackControl as appropriate, remembering that thumbs and other parts work differently. > >Roger Lipsett >{ihnp4,mirror,sun}!inmet!lipsett David W. Berry dwb@Delphi dwb@apple.com 973-5168@408.MaBell Disclaimer: Apple doesn't even know I have an opinion and certainly wouldn't want if they did. ::: Fodder for the heinous line counter ::: ::: Fodder for the heinous line counter ::: ::: Fodder for the heinous line counter ::: ::: Fodder for the heinous line counter ::: ::: Fodder for the heinous line counter ::: ::: Fodder for the heinous line counter ::: ::: Fodder for the heinous line counter ::: ::: Fodder for the heinous line counter ::: ::: Fodder for the heinous line counter ::: ::: Fodder for the heinous line counter ::: ::: Fodder for the heinous line counter ::: -- David W. Berry dwb@Delphi dwb@apple.com 973-5168@408.MaBell Disclaimer: Apple doesn't even know I have an opinion and certainly wouldn't want if they did.