Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!nosc!ucsd!orion.cf.uci.edu!uci-ics!bonnie.ics.uci.edu!poleary From: poleary@bonnie.ics.uci.edu (Petey O'Leary) Newsgroups: comp.sys.mac.programmer Subject: CDEF's Message-ID: <5631@paris.ics.uci.edu> Date: 27 Jan 89 01:18:35 GMT Sender: news@paris.ics.uci.edu Reply-To: Petey O'Leary Organization: University of California, Irvine - Dept of ICS Lines: 20 I am trying to code a simple CDEF that is exactly like the standard push-button, only with square instead of rounded corners. The CDEF that I have functions except that no "tracking" seems to be done when I click in the control. By this I mean that when I click in the button, it is not inverted and it seems that action takes place on the mouse- down rather than the mouse-up, like a standard push-button. The code seems very simple but obviously I have missed some detail. I'm working in LightspeedC and my only source of info so far has been the Inside Mac volumes. IM hasn't been much help. Anyone have any hints/suggestions/source fragments to offer. Mail them and I will post when I figure this out. Thanks in advance. Peter O'Leary poleary@bonnie.ics.edu