On Friday, November 21, 2003, at 01:51 AM, Robert Purves wrote: > > A static text control is inert. By Apple's design, it plays little > part in the busy life of a window. In particular, it does not give > rise to either of these Carbon Events when clicked: > {_kEventClassControl, _kEventControlClick} > {_kEventClassControl, _kEventControlHit} > Thus it will not be easy to detect a mouse-down in the static text > directly. You will have to detect a mouse-down in the window, then > test the location of the mouse-down point against the control's Rect, > perhaps using PtInRect. > > As a curiosity, I found that in OS X 10.3 a static text control does > give one Carbon Event when clicked: > {_kEventClassControl, _kEventControlGetClickActivation} > but this happens only in an inactive window. > > Robert P. > > Thank Robert and Bernie (offlist) for confirming my suspicions. My knowledge of text controls is minimal, so your feedback was helpful and appreciated. Using PtInRect for the controls rect seems to be a good approach for now. thanks again. Brian