• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CGXRemoveTrackingArea problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CGXRemoveTrackingArea problem


  • Subject: Re: CGXRemoveTrackingArea problem
  • From: Cameron Hayne <email@hidden>
  • Date: Sat, 20 Dec 2003 00:54:36 -0500

On 12/18/03 10:18 AM, "matt neuburg" <email@hidden> wrote:

> It turns out that this error line is written to
> windowserver.log whenever I call removeAllToolTips or removeToolTip:. I think
> this must be a bug in Cocoa.
>
> I was making this call every couple of seconds. This was causing the error
> line to be written to windowserver.log every couple of seconds. And this was
> causing (1) windowserver.log to become huge, and (2) the computer wouldn't
> sleep.
>
> So in the end I just had to give up a significant piece of functionality in my
> app (MemoryStick). I no longer have a separate tooltip for each of the four
> rectangles in my bar graph.

Couldn't you use addToolTipRect on the overall rectangle that encloses all
of your rectangular bars and then figure out which bar the cursor is over
(and supply the appropriate tooltip) from the 'point' argument in
view:stringForToolTip:point:userData: ?

--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: NSTextTab Troubles
  • Next by Date: Re: [Possibly OT] OSX 10.1, 10.2 and 10.3 on one PowerBook G4
  • Previous by thread: Re: CGXRemoveTrackingArea problem
  • Next by thread: Re: CGXRemoveTrackingArea problem
  • Index(es):
    • Date
    • Thread