[comp.sys.mac] Programming CDEFs

isle@eleazar.dartmouth.edu (Ken Hancock) (05/16/89)

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.