🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #15996

Re: Custom Dragging?

#15996
From: waldman
Date: Thu, 07 May 1987 18:39
14 lines
1289 bytes
In article <1462@tekig4.TEK.COM> bradn@tekig4.UUCP (Bradford Needham) writes:
>How do you implement custom dragging in a custom control?  Inside
>Macintosh's description is either misleading or just wrong (I can't
>tell which); Macintosh Revealed says nothing about custom controls; I
>haven't seen or heard of a technical note on the subject -- I'm at my
>wit's end!

One way that I've done dragging of a useritem in a control is to make it
a region, (by doing an OpenRegion (or whatever it's called) before drawing
my useritem), and then using DragGrayRgn.  Maybe this will work for you too.

					Ben Waldman
					waldman@husc4.harvard.edu
					...seismo!harvard!husc4!waldman
Technical Details
Message-ID: <1910@husc6.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!husc4!waldman
References: <1462@tekig4.TEK.COM>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!husc6!husc4!waldman
From: waldman@husc4.UUCP
Newsgroups: comp.sys.mac
Subject: Re: Custom Dragging?
Message-ID: <1910@husc6.UUCP>
Date: Thu, 7-May-87 14:39:36 EDT
Article-I.D.: husc6.1910
Posted: Thu May  7 14:39:36 1987
Date-Received: Sat, 9-May-87 05:39:02 EDT
References: <1462@tekig4.TEK.COM>
Sender: news@husc6.UUCP
Reply-To: waldman@husc4.UUCP (benjamin waldman)
Distribution: world
Organization: Harvard Univ. Science Center
Lines: 14
Keywords: custom dragcntl control