Path: utzoo!mnetor!uunet!husc6!bbn!inmet!ishmael!inmet!authorplaceholder From: lipsett@inmet.UUCP Newsgroups: comp.sys.mac.programmer Subject: Dialog Boxes with Scrollable region Message-ID: <170800002@inmet> Date: 21 Mar 88 15:15:00 GMT Lines: 23 Nf-ID: #N:inmet:170800002:000:971 Nf-From: inmet.UUCP!lipsett Mar 21 10:15:00 1988 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. The catch is that ModalDialog does not give you any information about the event - only the item number of the hit on a mouse click. So there seems no way to actually find out that the scroll bar was clicked upon rather than the textual portion of the item. One hack is to use a filter function to ModalDialog to save the coordinates of each mouse click. This would presumably work, but it still does not allow you to do continuous scrolling in the [page|line][up|down] regions. Also, this is an incredible hack. I can't believe it is the right way to do it. 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. Roger Lipsett {ihnp4,mirror,sun}!inmet!lipsett