🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #6685

problem with regions

#6685
From: Bob Loewenstein
Date: Tue, 05 Aug 1986 02:20
13 lines
1119 bytes
Here is a problem I am having with regions:

I create a region and set it equal to a rectangle with a call to RectRgn.
I then check to see if the mouse is clicked within the region and
if it is, I call DragGrayRgn with a  nil for the actionProc. After
dragging the region across the window, I release the mouse button. If I
try to drag the region again, however, I find that the region is
defined as the frame, not the enclosed area of the rectangle.  

What gives?!! I have to grab it by its border (PtInRgn is true for only
this condition).  Obviously I want the region to remain unchanged.

Hoping for an answer......
Technical Details
Message-ID: <1434@oddjob.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!caip!clyde!cbatt!cbosgd!ihnp4!oddjob!rfl

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!seismo!columbia!caip!clyde!cbatt!cbosgd!ihnp4!oddjob!rfl
From: rfl@oddjob.UUCP (Bob Loewenstein)
Newsgroups: net.micro.mac
Subject: problem with regions
Message-ID: <1434@oddjob.UUCP>
Date: Mon, 4-Aug-86 22:20:06 EDT
Article-I.D.: oddjob.1434
Posted: Mon Aug  4 22:20:06 1986
Date-Received: Wed, 6-Aug-86 02:31:17 EDT
Distribution: net
Organization: U. Chicago, Astronomy & Astrophysics
Lines: 13