Article View: comp.sys.mac
Article #19966Re: Help on a LSP program
From: Richard Siegel
Date: Thu, 08 Oct 1987 17:35
Date: Thu, 08 Oct 1987 17:35
25 lines
1413 bytes
1413 bytes
In article <90000002@smu> patel@smu writes:
>
>
>If I use PICTs to draw these objects, then how do I detect that the user
>has clicked inside a particular object? How do I drag only the outline
>of the object?
>
This isn't a LSP-specific problem, but I'll take a shot at it anyway.
You can probably set up a list of regions, and use PtInRgn() to see which
particular region landed in, and you can use DragGrayRgn() to drag a gray
outline of the region along with your mouse hit...
--Rich
**The opinions stated herein are my own opinions and do not necessarily
represent the policies or opinions of my employer (THINK Technologies, Inc).
* Richard M. Siegel | {decvax, ucbvax, sun}!harvard!endor!singer *
* Customer Support | singer@endor.harvard.edu *
* THINK Technologies, Inc. (No snappy quote) *
Technical Details
Message-ID:
<2962@husc6.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!endor!singerReferences:
<90000002@smu>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!endor!singer From: singer@endor.harvard.edu (Richard Siegel) Newsgroups: comp.sys.mac Subject: Re: Help on a LSP program Message-ID: <2962@husc6.UUCP> Date: Thu, 8-Oct-87 13:35:44 EDT Article-I.D.: husc6.2962 Posted: Thu Oct 8 13:35:44 1987 Date-Received: Sun, 11-Oct-87 02:52:05 EDT References: <90000002@smu> Sender: news@husc6.UUCP Reply-To: singer@endor.UUCP (Richard Siegel) Organization: THINK Technologies, Inc., Bedford, MA Lines: 25