🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #42570

Programming CDEFs

#42570
From: Ken Hancock
Date: Mon, 15 May 1989 20:10
25 lines
1311 bytes
I'm currently writing a small cdev to make square buttons.
The problem is, no matter what I do, the standard track
control doesn't seem to invert the rectangle and uninvert
when the mouse is pressed in the control.

Draw control frames the rect,
Test control returns an "inButton"
calcCRgns does nothing as does initCntl, dispCntl, posCntl,
thumbCtl, dragCntl, and autoTrack.

All routines that do nothing return 0 so default
functions are used.  What am I doing wrong?

Thanks in advance --

Ken





Ken Hancock  '90                   | BITNET/UUCP/
Personal Computing Ctr Consultant  |   INTERNET:  isle@eleazar.dartmouth.edu
-----------------------------------+----------------------------------------
DISCLAIMER?  I don't get paid enough to worry about disclaimers.
Technical Details
Message-ID: <13482@dartvax.Dartmouth.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!dartvax!eleazar.dartmouth.edu!isle

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!bloom-beacon!bu-cs!dartvax!eleazar.dartmouth.edu!isle
From: isle@eleazar.dartmouth.edu (Ken Hancock)
Newsgroups: comp.sys.mac,comp.sys.mac.programmer
Subject: Programming CDEFs
Message-ID: <13482@dartvax.Dartmouth.EDU>
Date: 15 May 89 20:10:36 GMT
Sender: news@dartvax.Dartmouth.EDU
Reply-To: isle@eleazar.dartmouth.edu (Ken Hancock)
Followup-To: comp.sys.mac
Organization: Personal Computing Center, Dartmouth College
Lines: 25