home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!news.udel.edu!chopin.udel.edu!kurisuto
- From: kurisuto@chopin.udel.edu (Sean J. Crist)
- Subject: Dragging out of a list manager list
- Message-ID: <C0GxE0.45B@news.udel.edu>
- Sender: usenet@news.udel.edu
- Nntp-Posting-Host: chopin.udel.edu
- Organization: University of Delaware
- Date: Thu, 7 Jan 1993 05:17:59 GMT
- Lines: 21
-
- I know we're not supposed to abuse the managers, but here goes anyway.
-
- I have finally gotten a list of icons to work the way I want it to in a
- modal dialog. However, I'm now finding that I need to do some redesigning
- of my program, because I often have modal dialogs stacking up on top of
- modal dialogs, which is a user interface no-no. Instead of having the
- user select an icon from the list and dismiss the modal dialog with a
- 'select' button, I want the user to be able to drag a gray outline of an
- icon's cell from a list in a modeless dialog to another window.
-
- The problem is that I'm pretty sure that once you call LClick, there's no
- straightforward way to get the following mouseup message. Still, some
- lists seem to have draggable elements (the project window from Think
- Pascal and the Inventory window from Scarab of RA come to mind). Do these
- programs use the list manager, or have the authors had to recreate
- something like the list manager to implement this dragging functionality?
-
- Any suggestions on how to drag out of a list will be appreciated. If
- there's interest I'll summarize and post.
-
- --Kurisuto
-